-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.eslintrc.json
55 lines (54 loc) · 1.29 KB
/
.eslintrc.json
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
{
"root": true,
"extends": ["@pega"],
"parserOptions": {
"project": "tsconfig.json"
},
"globals": {
"PCore": "readonly"
},
"settings": {
"import/resolver": {
"typescript": {},
"node": {
"extensions": [".ts", ".tsx"]
}
},
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"node_modules",
"lib",
"storybook-static",
"!.storybook",
".storybook/public",
"**/demo.stories.jsx",
"**/mock.stories.js",
"**/demo.stories.tsx",
"**/mock.stories.ts",
"**/*.mdx",
"babel.config.js",
"jest.config.js",
"**/*.html"
],
"rules": {
// Prettier recommends running separately from a linter.
// https://prettier.io/docs/en/integrating-with-linters.html#notes
"prettier/prettier": "off",
"@typescript-eslint/array-type": "off",
"import/extensions": ["off", "never"],
"import/named": "off",
"import/no-cycle": "off",
"import/no-duplicates": "off",
"import/no-relative-packages": "off",
"import/no-extraneous-dependencies": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-self-import": "off",
"import/no-unresolved": "off",
"import/no-useless-path-segments": "off",
"import/order": "off"
}
}