| { |
| "env": { |
| "browser": false, |
| "es2020": true, |
| "node": true |
| }, |
| "ignorePatterns": ["dist/"], |
| "extends": [ |
| "eslint:recommended", |
| "plugin:@typescript-eslint/recommended" |
| ], |
| "parser": "@typescript-eslint/parser", |
| "parserOptions": { |
| "ecmaVersion": "latest", |
| "sourceType": "module" |
| }, |
| "plugins": [ |
| "@typescript-eslint" |
| ], |
| "rules": { |
| "indent": [ |
| "error", |
| 4 |
| ], |
| "linebreak-style": [ |
| "error", |
| "unix" |
| ], |
| "quotes": [ |
| "error", |
| "double" |
| ], |
| "semi": [ |
| "error", |
| "always" |
| ], |
| "no-unused-vars": "off", |
| "@typescript-eslint/no-unused-vars": [ |
| "warn", |
| { |
| "argsIgnorePattern": "^_", |
| "varsIgnorePattern": "^_", |
| "caughtErrorsIgnorePattern": "^_" |
| } |
| ], |
| "no-trailing-spaces": "error", |
| "@typescript-eslint/no-explicit-any": "error", |
| "no-constant-condition": 0, |
| "comma-dangle": [ |
| "error", |
| "never" |
| ] |
| } |
| } |