Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.eslintrc - github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec3abc974dc8f688e18a736007b834de41505b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "extends": [
    "eslint:recommended",
    "plugin:@typescript-eslint/eslint-recommended",
    "plugin:prettier/recommended"
  ],
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "project": ["./tsconfig.json", "./client/tsconfig.json"]
  },
  "plugins": ["@typescript-eslint"],
  "rules": {
    "eqeqeq": ["warn", "always", { "null": "ignore" }],
    "no-useless-return": "warn",
    "no-var": "warn",
    "no-console": "warn",
    "no-unused-vars": "off",
    "max-len": ["warn", { "comments": 80 }],
    "no-param-reassign": 0,
    "require-atomic-updates": 0,
    "@typescript-eslint/interface-name-prefix": "off",
    "@typescript-eslint/no-unused-vars": "off", // "warn" for production
    "@typescript-eslint/no-explicit-any": "off", // "warn" for production
    "@typescript-eslint/no-var-requires": "off",
    "@typescript-eslint/camelcase": "off",
    "@typescript-eslint/no-object-literal-type-assertion": "off",
    "@typescript-eslint/no-parameter-properties": "off",
    "@typescript-eslint/explicit-function-return-type": "off"
  },
  "env": {
    "es6": true,
    "browser": true,
    "node": true,
    "mocha": true
  },
  "globals": {
    "assert": true
  },
  "settings": {
    "react": {
      "version": "detect"
    }
  }
}