module.exports = { "ignorePatterns": [".eslintrc.js", "dist"], "globals": { "sxy": "readonly", "test": "readonly" // alt for mocha: it }, "env": { "browser": true, "commonjs": true, "es2021": true, "node": true, "mocha": true }, "extends": [ "sandi-ts-cjs" ], //"parserOptions": { // "ecmaVersion": 12 //}, "rules": { "no-var": "off", // interferes with typescript declarations "no-unused-vars": "off", "no-undef": "off", // doesn't work correctly with typescript, hopefully another rule, or TS, catches real issues "@typescript-eslint/no-var-requires": "warn", "no-console": "warn" } }