Update eslint config
This commit is contained in:
parent
48db2dee84
commit
80b34b4c91
2
.eslintignore
Normal file
2
.eslintignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
@ -1,14 +1,16 @@
|
|||||||
{
|
{
|
||||||
"env": {
|
"root": true,
|
||||||
"browser": true,
|
"parser": "@typescript-eslint/parser",
|
||||||
"commonjs": true,
|
"plugins": [
|
||||||
"es2021": true
|
"@typescript-eslint"
|
||||||
},
|
],
|
||||||
"extends": [
|
"extends": [
|
||||||
"airbnb-base"
|
"eslint:recommended",
|
||||||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||||||
|
"plugin:@typescript-eslint/recommended"
|
||||||
],
|
],
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 12
|
"project": "./tsconfig.json"
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": "off"
|
"no-console": "off"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user