eslint-config-dolmios 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -19
- package/package.json +9 -3
package/index.js
CHANGED
|
@@ -1,25 +1,12 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
browser: true,
|
|
4
|
-
node: true,
|
|
5
|
-
},
|
|
6
|
-
extends: [
|
|
7
|
-
'eslint:recommended',
|
|
8
|
-
'plugin:@typescript-eslint/eslint-recommended',
|
|
9
|
-
'plugin:@typescript-eslint/recommended',
|
|
10
|
-
'next/core-web-vitals',
|
|
11
|
-
'prettier',
|
|
12
|
-
'plugin:react-hooks/recommended',
|
|
13
|
-
'plugin:jsx-a11y/recommended',
|
|
14
|
-
'sort-keys-fix/sort-keys-fix',
|
|
15
|
-
],
|
|
2
|
+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'next/core-web-vitals', 'prettier', 'plugin:jsx-a11y/recommended'],
|
|
16
3
|
parser: '@typescript-eslint/parser',
|
|
4
|
+
plugins: ['jsx-a11y', 'sort-keys-fix', '@typescript-eslint'],
|
|
17
5
|
parserOptions: {
|
|
18
6
|
ecmaFeatures: {
|
|
19
7
|
jsx: true,
|
|
20
8
|
},
|
|
21
9
|
},
|
|
22
|
-
root: true,
|
|
23
10
|
rules: {
|
|
24
11
|
'@typescript-eslint/ban-ts-ignore': 'off',
|
|
25
12
|
'@typescript-eslint/explicit-function-return-type': 'error',
|
|
@@ -152,10 +139,6 @@ module.exports = {
|
|
|
152
139
|
initialized: 'never',
|
|
153
140
|
},
|
|
154
141
|
],
|
|
155
|
-
'react/jsx-sort-props': 1,
|
|
156
|
-
'react/prop-types': 'off',
|
|
157
|
-
'react/react-in-jsx-scope': 'off',
|
|
158
|
-
'react/sort-prop-types': 1,
|
|
159
142
|
semi: ['error', 'always'],
|
|
160
143
|
'semi-spacing': ['error', { after: true, before: false }],
|
|
161
144
|
'sort-keys': 'error',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-dolmios",
|
|
3
3
|
"description": "My personal ESLint configuration preferences.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"author": "Jackson Dolman <mail@dolmios.com>",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/dolmios/eslint-config-dolmios/issues"
|
|
@@ -26,7 +26,11 @@
|
|
|
26
26
|
"main": "index.js",
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"eslint": ">= 8.0.0",
|
|
29
|
-
"prettier": ">= 2.0.0"
|
|
29
|
+
"prettier": ">= 2.0.0",
|
|
30
|
+
"eslint-plugin-sort-keys-fix": "^1.0.0",
|
|
31
|
+
"eslint-plugin-jsx-a11y": "^6.0.0",
|
|
32
|
+
"@typescript-eslint/parser": "^5.0.0",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "^5.0.0"
|
|
30
34
|
},
|
|
31
35
|
"dependencies": {
|
|
32
36
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
@@ -35,7 +39,6 @@
|
|
|
35
39
|
"eslint-config-next": "12.1.5",
|
|
36
40
|
"eslint-config-prettier": "^8.5.0",
|
|
37
41
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
38
|
-
"eslint-plugin-react": "^7.29.4",
|
|
39
42
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
40
43
|
"prettier": "^2.6.2"
|
|
41
44
|
},
|
|
@@ -43,5 +46,8 @@
|
|
|
43
46
|
"repository": {
|
|
44
47
|
"type": "git",
|
|
45
48
|
"url": "git+https://github.com/dolmios/eslint-config-dolmios.git"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"typescript": "^4.6.3"
|
|
46
52
|
}
|
|
47
53
|
}
|