nope/.eslintrc.json
Martin Karkowski 63491a5bef Adding formater
2021-11-25 08:41:16 +01:00

32 lines
618 B
JSON

{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier",
"jest"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-console": 1,
"prettier/prettier": 2,
"@typescript-eslint/no-this-alias": [
"warn",
{
// "allowDestructuring": false, // Disallow `const { props, state } = this`; true by default
"allowedNames": [
"_this"
]
}
]
},
"env": {
"browser": true,
"node": true,
"jest/globals": true
}
}