- support typescript
- base airbnb
# eslint is not required.
npm i -D eslint-config-snak
touch ./eslintrc.js
./eslintrc.js
module.exports = {
extends: ['eslint-config-snak'],
};
vscode config ./.vscode/settings.json
{
// eslint config
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{ "language": "typescript", "autoFix": true },
{ "language": "typescriptreact", "autoFix": true }
]
}