aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
blob: 3c946a1de1f999d854f8e9678060a11ea1e77093 (plain) (blame)
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
45
46
47
48
49
50
51
52
module.exports = {
  env: {
    browser: true,
    es2021: true,
  },
  extends: [
    "plugin:react/recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:import/errors",
    "plugin:import/warnings",
    "plugin:import/typescript",
  ],
  parser: "@typescript-eslint/parser",
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
    },
    ecmaVersion: "latest",
    sourceType: "module",
  },
  plugins: ["react", "@typescript-eslint"],
  rules: {
    "no-console": [0],
    "no-param-reassign": [0],
    "no-else-return": [0],
    "no-confusing-arrow": [0],
    "no-prototype-builtins": [0],

    // "prettier/prettier": [2],

    "import/named": [0],
    "import/first": [0],
    "import/prefer-default-export": [0],
    "import/no-extraneous-dependencies": [0],
    "import/no-named-as-default": [0],
    "import/namespace": [0],

    "react/prop-types": [0],
    "react/display-name": [0],

    "@typescript-eslint/no-empty-interface": [0],

    "@typescript-eslint/explicit-module-boundary-types": [0],
  },
  "settings": {
    "react": {
      "createClass": "createReactClass",
      "pragma": "React",
      "version": "detect"
    }
  }
};
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage