1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- {
- "parser": "@typescript-eslint/parser",
- "root": true,
- "extends": [
- "eslint:recommended",
- "plugin:@typescript-eslint/recommended",
- "plugin:@typescript-eslint/recommended-requiring-type-checking",
- "plugin:prettier/recommended"
- ],
- "plugins": ["@typescript-eslint", "prettier"],
- "parserOptions": {
- "ecmaVersion": 2022,
- "sourceType": "module",
- "project": "./tsconfig.json"
- },
- "env": {
- "node": true,
- "es6": true
- },
- "settings": {
- "import/resolver": {
- "alias": {
- "map": [["@", "./"]],
- "extensions": [".js", ".ts"]
- }
- }
- },
- "rules": {
- "prettier/prettier": ["error", { "singleQuote": true, "semi": false }],
- "@typescript-eslint/no-inferrable-types": 0,
- "@typescript-eslint/no-unused-vars": 1,
- "@typescript-eslint/no-unsafe-assignment": "off",
- "@typescript-eslint/no-unsafe-member-access": 0,
- "@typescript-eslint/no-unsafe-argument": 0,
- "@typescript-eslint/no-unsafe-return": 0,
- "@typescript-eslint/no-var-requires": 0,
- "@typescript-eslint/no-explicit-any": "off",
- "no-param-reassign": 0,
- "import/export": 0,
- "max-len": [
- "warn",
- {
- "code": 100,
- "tabWidth": 4
- }
- ],
- "no-void": 0,
- "@typescript-eslint/ban-ts-comment": 0
- }
- }
|