Custom Eslint config (suressk
)
- Install
npm i eslint-config-suressk -D
- Config in
.eslintrc
{
"extends": "suressk"
}
- In VSCode, install
Eslint
plugin - use Eslint to format code when file on save
- and add
.vscode/settings.json
file
{
"eslint.validate": [
"javascript",
"javascriptreact",
"markdown",
"typescript",
"yaml"
],
"prettier.enable": false
}