diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..d5ab0d2 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +# Ignore dist folder +/dist/*.js diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..5e7e3d6 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,23 @@ +{ + "env": { + "browser": true, + "jasmine": true, + "es2020": true + }, + "plugins": [ + "mocha" + ], + "extends": [ + "standard", + "plugin:mocha/recommended" + ], + "parserOptions": { + "ecmaVersion": 2020, + "sourceType": "module" + }, + "rules": { + "no-unused-vars": 1, + "no-unreachable": 0, + "prefer-object-spread": 1 + } +} \ No newline at end of file