fix: eslint config
This commit is contained in:
12
.eslintrc
12
.eslintrc
@@ -1,11 +1,15 @@
|
||||
{
|
||||
"extends": ["eslint:recommended", "semistandard", "prettier"],
|
||||
"parser": "babel-eslint",
|
||||
"extends": ["eslint:recommended", "prettier"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"project": "./app/assets/javascripts/tsconfig.json"
|
||||
},
|
||||
"rules": {
|
||||
"standard/no-callback-literal": 0, // Disable this as we have too many callbacks relying on literals
|
||||
"no-throw-literal": 0,
|
||||
// "no-console": "error",
|
||||
"semi": 1
|
||||
"no-console": "warn",
|
||||
"semi": 1,
|
||||
"camelcase": "warn"
|
||||
},
|
||||
"env": {
|
||||
"browser": true
|
||||
|
||||
Reference in New Issue
Block a user