eslint-config-wotusay
v1.0.9
Published
Eslint config for angular 12+
Downloads
8
Maintainers
Readme
Table of Contents
Installation
This module should be installed as one of your project's devDependencies
:
yarn add eslint-wotusay -D
Usage
Then add the extends to your .eslintrc.js:
module.exports = {
extends: 'wotusay,
rules: {
// your overrides
},
};
VS Code
Using the eslint-plugin you can use these settings for autoformatting:
"editor.formatOnSave": true,
"eslint.format.enable": true,
"[javascript]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascriptreact]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescriptreact]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"editor.codeActionsOnSave": {
"source.fixAll": true,
}