| { |
| "root": true, |
| "parser": "@typescript-eslint/parser", |
| "parserOptions": { |
| "ecmaVersion": 6, |
| "sourceType": "module", |
| "project": "tsconfig.json" |
| }, |
| "plugins": [ |
| "@typescript-eslint", |
| "jsdoc" |
| ], |
| "rules": { |
| "@typescript-eslint/naming-convention": "warn", |
| "@typescript-eslint/semi": "error", |
| "@typescript-eslint/no-floating-promises": "error", |
| "@typescript-eslint/no-misused-promises": "error", |
| "prefer-promise-reject-errors": "error", |
| "jsdoc/require-jsdoc": "warn", |
| "jsdoc/require-description": "warn", |
| "curly": "warn", |
| "quotes": [ |
| 2, |
| "single" |
| ], |
| "eqeqeq": "warn", |
| "indent": [ |
| "warn", |
| 2, |
| { |
| "SwitchCase": 1 |
| } |
| ], |
| "max-len": [ |
| "warn", |
| { |
| "code": 100, |
| "ignoreComments": true, |
| "ignoreStrings": true |
| } |
| ], |
| "no-throw-literal": "warn", |
| "require-await": "error", |
| "semi": "off" |
| }, |
| "ignorePatterns": [ |
| "out", |
| "dist", |
| "**/*.d.ts" |
| ] |
| } |