diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..76add87 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +node_modules +dist \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json index 1d6beba..0d7ad06 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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"