Update eslint config

This commit is contained in:
Nick Playfair 2021-03-17 19:23:11 +00:00
parent 48db2dee84
commit 80b34b4c91
2 changed files with 11 additions and 7 deletions

2
.eslintignore Normal file
View File

@ -0,0 +1,2 @@
node_modules
dist

View File

@ -1,14 +1,16 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"airbnb-base"
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 12
"project": "./tsconfig.json"
},
"rules": {
"no-console": "off"