|
- {
- "env": {
- "es2020": true,
- "node": true,
- "jest": true
- },
- "extends": [
- "airbnb-base",
- "plugin:@typescript-eslint/recommended",
- "prettier/@typescript-eslint",
- "plugin:prettier/recommended"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2020,
- "sourceType": "module"
- },
- "plugins": [
- "@typescript-eslint",
- "prettier"
- ],
- "rules": {
- "prettier/prettier": "error",
- "no-param-reassign": "off",
- "no-plusplus": "off",
- "no-await-in-loop": "off",
- "no-useless-constructor": "off",
- "no-underscore-dangle": "off",
- "camelcase": "off",
- "no-console": "off",
- "class-methods-use-this": "off",
-
- "@typescript-eslint/no-unused-vars": [
- "error",
- {
- "argsIgnorePattern": "^_"
- }
- ],
- "@typescript-eslint/naming-convention": [
- "error",
- {
- "selector": "interface",
- "format": [
- "PascalCase"
- ],
- "custom": {
- "regex": "^I[A-Z]",
- "match": true
- }
- }
- ],
- "import/extensions": [
- "error",
- "ignorePackages",
- {
- "ts": "never"
- }
- ],
- "no-shadow": "off",
- "@typescript-eslint/no-shadow": ["error"]
- },
- "settings": {
- "import/resolver": {
- "typescript": {}
- }
- }
- }
|