Skip to content

Commit 80bf9cf

Browse files
authored
Merge pull request #791 from hossein-zare/revert-790-dev-5.x
Revert "v5.4.9"
2 parents 68595cf + 1308619 commit 80bf9cf

50 files changed

Lines changed: 2908 additions & 27966 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintignore

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
# don't ever lint node_modules
22
node_modules
3-
package-lock.json
4-
# don't lint build output
5-
build
3+
# don't lint build output (make sure it's set to your correct build folder name)
64
dist
7-
# don't lint coverage output
8-
coverage
9-
# don't lint workflows etc
10-
.github
11-
.idea
12-
.vscode
13-
# unsupported file types
14-
*.yaml
15-
*.yml
16-
*.md
5+
# don't lint nyc coverage output
6+
coverage

.eslintrc.js

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
plugins: [
5+
'@typescript-eslint',
6+
'react',
7+
"react-hooks",
8+
"react-native",
9+
"prettier",
10+
"jsx-a11y",
11+
"eslint-comments",
12+
"import"
13+
],
14+
extends: [
15+
'eslint:recommended',
16+
'plugin:@typescript-eslint/recommended',
17+
'airbnb-typescript',
18+
"airbnb",
19+
"airbnb/hooks",
20+
"plugin:react/recommended",
21+
"plugin:react-hooks/recommended",
22+
"plugin:react-native/all",
23+
"prettier",
24+
"plugin:prettier/recommended",
25+
"plugin:jsx-a11y/recommended",
26+
"plugin:eslint-comments/recommended",
27+
"plugin:import/errors",
28+
"plugin:import/errors",
29+
"plugin:import/warnings",
30+
"plugin:import/typescript"
31+
],
32+
env: {
33+
node: true,
34+
"react-native/react-native": true
35+
},
36+
"parserOptions": {
37+
"ecmaFeatures": {
38+
"jsx": true
39+
},
40+
"ecmaVersion": 2020,
41+
"sourceType": "module",
42+
"project": "./tsconfig.json"
43+
},
44+
"rules": {
45+
"@typescript-eslint/no-explicit-any": ["error", { "ignoreRestArgs": false, "fixToUnknown": false }],
46+
"import/no-unresolved": 0,
47+
"react/jsx-filename-extension": [1, {
48+
"extensions": [
49+
".ts",
50+
".tsx",
51+
".js",
52+
".jsx"
53+
]
54+
}],
55+
"prettier/prettier": [
56+
"error",
57+
{
58+
// documented at: https://prettier.io/docs/en/configuration.html
59+
"printWidth": 80,
60+
"tabWidth": 2,
61+
"useTabs": false,
62+
"semi": true,
63+
"singleQuote": true,
64+
"quoteProps": "consistent",
65+
"jsxSingleQuote": true,
66+
"trailingComma": "all",
67+
"bracketSpacing": true,
68+
"jsxBracketSameLine": true,
69+
"arrowParens": "always",
70+
"requirePragma": false,
71+
"insertPragma": false,
72+
"proseWrap": "preserve",
73+
"htmlWhitespaceSensitivity": "css",
74+
"endOfLine": "lf",
75+
"embeddedLanguageFormatting": "auto"
76+
}
77+
],
78+
"no-use-before-define": "off",
79+
"@typescript-eslint/no-use-before-define": ["error"],
80+
"import/extensions": ["error", "never"],
81+
"react/prop-types": 0,
82+
"no-shadow": "off",
83+
"@typescript-eslint/no-shadow": ["error"],
84+
"no-undef": "off"
85+
},
86+
"ignorePatterns": [".eslintrc.js"]
87+
};

.eslintrc.yaml

Lines changed: 0 additions & 109 deletions
This file was deleted.
-9.7 KB
Binary file not shown.
-53.5 KB
Binary file not shown.
-7.13 KB
Binary file not shown.
-45 KB
Binary file not shown.
-14.7 KB
Binary file not shown.
-82.1 KB
Binary file not shown.

.github/workflows/ci.yaml

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)