@digest/eslint-config 4.3.0 → 4.3.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 +5 -5
- package/src/.eslintrc.js +14 -3
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.3.
|
|
5
|
+
"version": "4.3.1",
|
|
6
6
|
"description": "Digested ESLint configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"clean": "rimraf node_modules package-lock.json npm-debug.log"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@digest/scripts": "
|
|
37
|
-
"eslint": "^8.
|
|
38
|
-
"eslint-config-canonical": "^42.8.
|
|
36
|
+
"@digest/scripts": "4.3.1",
|
|
37
|
+
"eslint": "^8.57.0",
|
|
38
|
+
"eslint-config-canonical": "^42.8.2",
|
|
39
39
|
"eslint-formatter-friendly": "^7.0.0",
|
|
40
40
|
"eslint-plugin-canonical": "^4.18.0",
|
|
41
41
|
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"digest",
|
|
45
45
|
"eslint"
|
|
46
46
|
],
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "5c4ca654a960201141393943978ff3b81c52ba1e"
|
|
48
48
|
}
|
package/src/.eslintrc.js
CHANGED
|
@@ -106,7 +106,7 @@ module.exports = {
|
|
|
106
106
|
] : []
|
|
107
107
|
),
|
|
108
108
|
globals: {
|
|
109
|
-
angular: Boolean(angular),
|
|
109
|
+
// angular: Boolean(angular),
|
|
110
110
|
define: true
|
|
111
111
|
},
|
|
112
112
|
ignorePatterns: [
|
|
@@ -114,6 +114,17 @@ module.exports = {
|
|
|
114
114
|
'*~.js',
|
|
115
115
|
'*~.ts'
|
|
116
116
|
],
|
|
117
|
+
overrides: [
|
|
118
|
+
{
|
|
119
|
+
files: [
|
|
120
|
+
"*.graphql"
|
|
121
|
+
],
|
|
122
|
+
parser: "@graphql-eslint/eslint-plugin",
|
|
123
|
+
plugins: [
|
|
124
|
+
"@graphql-eslint"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
],
|
|
117
128
|
parser: typescript ?
|
|
118
129
|
'@typescript-eslint/parser' :
|
|
119
130
|
// eslint-disable-next-line no-extra-parens
|
|
@@ -150,7 +161,7 @@ module.exports = {
|
|
|
150
161
|
].concat(
|
|
151
162
|
babel ? ['@babel'] : [],
|
|
152
163
|
emotion ? ['@emotion'] : [],
|
|
153
|
-
angular ? [
|
|
164
|
+
angular ? [] : [],
|
|
154
165
|
react ? [
|
|
155
166
|
'react',
|
|
156
167
|
'react-hooks',
|
|
@@ -161,7 +172,7 @@ module.exports = {
|
|
|
161
172
|
'react-native',
|
|
162
173
|
'@react-native-community',
|
|
163
174
|
] : [],
|
|
164
|
-
graphqlSchema ? ['graphql'] : [],
|
|
175
|
+
graphqlSchema ? ['@graphql-eslint'] : [],
|
|
165
176
|
flow ? ['flowtype'] : [],
|
|
166
177
|
typescript ? [
|
|
167
178
|
'@typescript-eslint'
|