.eslintrc.json
{
"env": { "browser": true, "commonjs": true, "es6": true, "node": true },
"extends": ["eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended"],
"globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" },
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": 11 },
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"keyword-spacing": [
"error",
{
"before": true,
"overrides": {
"catch": { "after": false },
"if": { "after": false },
"for": { "after": false },
"switch": { "after": false },
"while": { "after": false }
}
}
],
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"no-console": "warn",
"quotes": ["error", "double"],
"semi": ["error", "always"]
}
}