diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..d75cd78 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,21 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "globals": { + "lt": "readonly", + "GANDALF_CONFIG": "readonly", + "CSS": "readonly" + }, + "rules": { + "no-undef": "error", + "no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }], + "no-console": "off", + "eqeqeq": ["error", "always", { "null": "ignore" }] + }, + "parserOptions": { + "ecmaVersion": 2021, + "sourceType": "script" + } +}