Browse Source

chore: standardize eslint (#295)

* chore: standardize eslint

* chore: standardize eslint

* chore: update config
main
Justin Poehnelt 3 years ago committed by GitHub
parent
commit
eab2c80df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .eslintrc.json

10
.eslintrc.json

@ -1,5 +1,9 @@
{ {
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"], "extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"parserOptions": { "parserOptions": {
"ecmaVersion": 11, "ecmaVersion": 11,
@ -10,11 +14,13 @@
"no-var": 2, "no-var": 2,
"prefer-arrow-callback": 2, "prefer-arrow-callback": 2,
"@typescript-eslint/ban-ts-comment": 0, "@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/ban-types": 1,
"@typescript-eslint/no-empty-function": 1 "@typescript-eslint/no-empty-function": 1
}, },
"env": { "env": {
"browser": true, "browser": true,
"es6": true, "es6": true,
"jest/globals": true "jest/globals": true
} },
"globals": { "google": "readonly" }
} }

Loading…
Cancel
Save