12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- {
- "env": {
- "browser": false,
- "es6": true,
- "node": true
- },
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "project": "tsconfig.json",
- "sourceType": "module",
- "ecmaVersion": 2020
- },
- "plugins": [
- "@typescript-eslint",
- "prettier"
- ],
- "extends": [
- "prettier",
- "plugin:@typescript-eslint/recommended"
- // Uncomment the following lines to enable the recommended rules for type checking.
- // "plugin:@typescript-eslint/recommended-requiring-type-checking",
- ],
- "rules": {
- // The following rule is enabled only to supplement the inline suppression
- // examples, and because it is not a recommended rule, you should either
- // disable it, or understand what it enforces.
- // https://typescript-eslint.io/rules/explicit-function-return-type/
- // see prettier setting in ./.prettierrc
- "prettier/prettier": [
- "error",
- {},
- {
- "usePrettierrc": true
- }
- ],
- "@typescript-eslint/no-inferrable-types": 0,
- "@typescript-eslint/no-unused-vars": 2,
- "@typescript-eslint/no-var-requires": 0,
- "@typescript-eslint/no-explicit-any": 0,
- // disable error for unused vars
- "no-unused-vars": 0
- }
- }
|