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.
This package has been moved over to the biased-ts organization.
Source code can now be found on the biased-ts GitHub
-
Install both ESLint and eslint-config-biased-ts using your local package manager. EX:
npm i eslint eslint-config-biased-ts
-
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.
Recommended:
{
"root": true,
"extends": [ "biased-eslint/ProperTSDoc", "biased-eslint/ProperTS" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}
Typescript:
{
"root": true,
"extends": [ "biased-eslint/ProperTS" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}
JSDoc:
{
"root": true,
"extends": [ "biased-eslint/JSDoc" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}
TSDoc:
{
"root": true,
"extends": [ "biased-eslint/TSDoc" ],
"parserOptions": {
"project": "./tsconfig.json"
},
"ignorePatterns": ["**/dist/*"]
}