- Notifications
You must be signed in to change notification settings - Fork0
(DEPRECATED) TSLint config used at Kata.ai
License
kata-ai/tslint-config-kata
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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.
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
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 TSLintminor: Potentially breaking changes that's still within the same major version of TSLintpatch: Minor patches/bugfixes
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 prettierAnd 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 }}Issues and Pull Requests welcome! Please read theContributing Guidelines beforehand.
MIT (c) 2018 Kata.ai.
- Resi Respati (@resir014) – Kata.ai
About
(DEPRECATED) TSLint config used at Kata.ai
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.