Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 26, 2020. It is now read-only.

(DEPRECATED) TSLint config used at Kata.ai

License

NotificationsYou must be signed in to change notification settings

kata-ai/tslint-config-kata

Repository files navigation

TSLint config used at Kata.ai

This is the common TSLint config used by projects atKata.ai. All TSLint rules follow the Kata Platform Development Standard.

Installation

Installtslint andtslint-config-kata using your favourite package manager:

# yarnyarn add --dev tslint tslint-config-kata# npmnpm install --save-dev tslint tslint-config-kata

Then, on yourtslint.json file, extendtslint-config-kata.

{"extends": ["tslint-config-kata"]}

If you're using this TSLint config for React-based projects, extendtslint-config-kata/react instead.

{"extends": ["tslint-config-kata/react"]}

For more setups, take a look at thetemplates directory

Versioning

Note that this package does not specifically follow Semantic Versioning, since all changes in this package are relative to the changes in our Development Standard. Major version bumps will occur when we transition into a new major version of TSLint.

To recap:

  • major: Will be bumped when we transition to a new major version of TSLint
  • minor: Potentially breaking changes that's still within the same major version of TSLint
  • patch: Minor patches/bugfixes

Using Prettier

Prettier is a tool to automatically format your code during save. It supports various editors, from VSCode, Atom, Sublime, and even Emacs.

To use this TSLint config in conjunction with Prettier, copy the.prettierrc file in this repository and paste it to your project.

Then install the Prettier TSLint config and plugin:

$yarn add --dev tslint-plugin-prettier tslint-config-prettier prettier

And finally, include them as follows. (IMPORTANT:tslint-config-prettier MUST be extended last in theextends array!)

{"rulesDirectory": ["tslint-plugin-prettier"],"extends": ["tslint-config-kata","tslint-config-prettier"],"linterOptions": {"exclude": ["node_modules/**"]  },"rules": {"prettier":true  }}

Contributing

Issues and Pull Requests welcome! Please read theContributing Guidelines beforehand.

License

MIT (c) 2018 Kata.ai.

Maintainers

About

(DEPRECATED) TSLint config used at Kata.ai

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp