@biased-ts/eslint-config
v2.1.0
Published
A heavily biased Typescript ESLint configuration.
Downloads
14
Maintainers
Readme
INTRODUCTION
eslint-config-biased-ts is a couple of heavily biased Eslint configuration files, made to both enforce my biased styling, and to help bootstrap my other projects.
INSTALLATION
Install both ESLint and eslint-config-biased-ts using your local package manager. EX:
npm i eslint @biased-ts/eslint-config
From there, create or modify your
.eslintrc.
(or whatever naming convention you use) to either extendProperDoc
orProperTS
From there, you are done! If it does not work, restart your Eslint and or Typescript server.
EXAMPLES
Recommended:
{
"root": true,
"extends": [ "@biased-eslint/eslint-config/ProperTSDoc", "@biased-eslint/eslint-config/ProperTS" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}
Typescript:
{
"root": true,
"extends": [ "@biased-eslint/eslint-config/ProperTS" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}
JSDoc:
{
"root": true,
"extends": [ "@biased-eslint/eslint-config/JSDoc" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}
TSDoc:
{
"root": true,
"extends": [ "@biased-eslint/eslint-config/TSDoc" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}