forked from Web3Auth/web3auth-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
42 lines (42 loc) · 1.19 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
{
"extends": ["plugin:markdown/recommended", "plugin:mdx/recommended", "@toruslabs/react"],
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module",
"project": "./tsconfig.json"
},
"ignorePatterns": ["docusaurus.config.js"],
"rules": {
"@typescript-eslint/ban-ts-comment": 0,
"react/jsx-props-no-spreading": 0,
"import/no-unresolved": [2, { "ignore": ["^@theme", "^@docusaurus", "^@site"] }]
},
"settings": {
"mdx/code-blocks": false
},
"globals": {
"JSX": true,
"history": "readonly"
},
"overrides": [
{
"files": ["*.mdx", "*.md"],
"parser": "eslint-mdx",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 11,
"sourceType": "module",
"extraFileExtensions": [".mdx"]
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx", ".mdx"] }],
"@typescript-eslint/return-await": 0,
"@typescript-eslint/no-throw-literal": 0,
"@typescript-eslint/no-implied-eval": 0,
"@typescript-eslint/dot-notation": 0,
"@typescript-eslint/naming-convention": 0,
"no-plusplus": 0
}
}
]
}