@digest/eslint-config 4.2.6-next.1 → 4.3.0-beta.1
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/package.json +6 -5
- package/src/.eslintrc.js +6 -2
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@digest/eslint-config",
|
|
3
3
|
"title": "ESLint Digest",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.3.0-beta.1",
|
|
6
6
|
"description": "Digested ESLint configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -34,14 +34,15 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@digest/scripts": "^4.0.0",
|
|
37
|
-
"eslint": "^8.
|
|
38
|
-
"eslint-config-canonical": "^42.
|
|
37
|
+
"eslint": "^8.56.0",
|
|
38
|
+
"eslint-config-canonical": "^42.8.0",
|
|
39
39
|
"eslint-formatter-friendly": "^7.0.0",
|
|
40
|
-
"eslint-plugin-
|
|
40
|
+
"eslint-plugin-canonical": "^4.18.0",
|
|
41
|
+
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1"
|
|
41
42
|
},
|
|
42
43
|
"keywords": [
|
|
43
44
|
"digest",
|
|
44
45
|
"eslint"
|
|
45
46
|
],
|
|
46
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a06760c977e833392d5e32ea42e35c1878eb9a25"
|
|
47
48
|
}
|
package/src/.eslintrc.js
CHANGED
|
@@ -101,6 +101,7 @@ module.exports = {
|
|
|
101
101
|
'plugin:@typescript-eslint/recommended',
|
|
102
102
|
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
103
103
|
'plugin:import/typescript',
|
|
104
|
+
'plugin:canonical/recommended',
|
|
104
105
|
'canonical/typescript'
|
|
105
106
|
] : []
|
|
106
107
|
),
|
|
@@ -144,7 +145,8 @@ module.exports = {
|
|
|
144
145
|
'tsconfigRootDir': '../../../../'*/
|
|
145
146
|
},
|
|
146
147
|
plugins: [
|
|
147
|
-
'import'
|
|
148
|
+
'import',
|
|
149
|
+
'canonical'
|
|
148
150
|
].concat(
|
|
149
151
|
babel ? ['@babel'] : [],
|
|
150
152
|
emotion ? ['@emotion'] : [],
|
|
@@ -161,7 +163,9 @@ module.exports = {
|
|
|
161
163
|
] : [],
|
|
162
164
|
graphqlSchema ? ['graphql'] : [],
|
|
163
165
|
flow ? ['flowtype'] : [],
|
|
164
|
-
typescript ? [
|
|
166
|
+
typescript ? [
|
|
167
|
+
'@typescript-eslint'
|
|
168
|
+
] : []
|
|
165
169
|
),
|
|
166
170
|
// eslint-disable-next-line fp/no-mutating-assign
|
|
167
171
|
rules: Object.assign(
|