A repository for keeping track of all of my ESLint configuration files.
Install from NPM with
$ npm install --save-dev @t99/eslint-config
Then, add it to your local ESLint config:
module.exports = {
extends: [
"@t99"
]
}
{
"extends": [
"@t99"
]
}
extends:
@t99
Additionally, for TypeScript projects, you will need to configure the path to
your project's tsconfig.json
. Extending this package will take care of all
other necessary setup for usage with TypeScript.
module.exports = {
extends: [
"@t99"
],
parserOptions: {
project: "path/to/tsconfig.json"
}
}
{
"extends": [
"@t99"
],
"parserOptions": {
"project": "path/to/tsconfig.json"
}
}
extends:
@t99
parserOptions:
project: "path/to/tsconfig.json"
Check out the official ESLint guide on doing so here.
@t99/eslint-config is made available under the GNU General Public License v3.
Copyright (C) 2022 Trevor Sears