This repository has been archived by the owner on May 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
64 lines (64 loc) · 1.94 KB
/
index.js
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
53
54
55
56
57
58
59
60
61
62
63
64
module.exports = {
extends: [
"airbnb",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
parser: "@typescript-eslint/parser",
plugins: ["curology"],
rules: {
"@typescript-eslint/prefer-ts-expect-error": 2,
"arrow-parens": [2, "as-needed"],
"class-methods-use-this": 0,
"comma-dangle": [2, "always-multiline"],
"consistent-return": 0,
"curology/no-action-bound-decorator": 2,
"curology/no-single-letter-variable": 2,
"func-names": 0,
"function-paren-newline": 0,
"global-require": 0,
"import/extensions": ["error", "never"],
"import/no-cycle": 1,
"import/no-named-as-default-member": 1,
"import/no-unresolved": 0,
"import/order": [
2,
{
groups: [["builtin", "external"], "internal", ["parent", "sibling"]],
"newlines-between": "always",
},
],
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": [2, { devDependencies: true }],
indent: 0,
"jsx-a11y/anchor-is-valid": 1,
"jsx-a11y/click-events-have-key-events": 1,
"jsx-a11y/img-redundant-alt": 1,
"jsx-a11y/no-static-element-interactions": 1,
"jsx-a11y/accessible-emoji": 1,
"max-len": 0,
"no-confusing-arrow": 0,
"no-console": 2,
"no-else-return": 1,
"no-plusplus": 1,
"no-static-element-interactions": 0,
"no-underscore-dangle": 1,
"object-curly-newline": 0,
"object-property-newline": [
"error",
{ allowAllPropertiesOnSameLine: true },
],
"react/jsx-filename-extension": [1, { extensions: [".js", ".jsx"] }],
"react/jsx-fragments": [2, "element"],
"react/jsx-key": 2,
"react/jsx-one-expression-per-line": 0,
"react/jsx-wrap-multilines": 0,
"react/no-array-index-key": 1,
"react/require-default-props": 2,
"react/sort-comp": 0,
"space-before-function-paren": 0,
},
settings: {
"import/extensions": [".js", ".jsx", ".ts", ".tsx"],
},
};