2.0.8 • Published 3 years ago
eslint-config-intech v2.0.8
Intech Ventures ESLint Config
This repository defines the ESLint and Prettier rules at Intech Ventures.
Adding to a new project
- To use this in a new project simply install everything you need using the following command (works with yarn):
npx install-peerdeps --dev eslint-config-intech
- Add the following ESLint configuration to the project's package.json.
.eslintrc
and.prettierrc
files can be safely removed from the project.
"eslintConfig": {
"extends": [
"eslint-config-intech"
]
}
Usage with VSCode
- Install the VSCode ESLint plugin
- Since Prettier is automatically ran through ESLint, it does not have to be enabled in VSCode settings. Match your settings.json with this
{
"editor.formatOnSave": true,
// Do not automatically format JavaScript or JavaScript react, as this will be done by ESLint
"[javascript]": { "editor.formatOnSave": false },
"[javascriptreact]": { "editor.formatOnSave": false },
"[typescript]": { "editor.formatOnSave": false },
"[typescriptreact]": { "editor.formatOnSave": false },
// Run ESLint on Save
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"prettier.disableLanguages": ["javascript", "javascriptreact", "typescript", "typescriptreact"]
}
1.2.0
3 years ago
1.3.0
3 years ago
2.0.3
3 years ago
2.0.2
3 years ago
2.0.4
3 years ago
2.0.7
3 years ago
2.0.6
3 years ago
2.0.8
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.1.4
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago