@digest/eslint-config 4.5.0-beta.1 → 4.5.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 +2 -2
- package/src/.eslintrc.js +11 -5
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.
|
|
5
|
+
"version": "4.5.1",
|
|
6
6
|
"description": "Digested ESLint configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"digest",
|
|
45
45
|
"eslint"
|
|
46
46
|
],
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "2a7d6d81640601a90d36e8a5826b67aae05c56ab"
|
|
48
48
|
}
|
package/src/.eslintrc.js
CHANGED
|
@@ -117,13 +117,19 @@ module.exports = {
|
|
|
117
117
|
overrides: [
|
|
118
118
|
{
|
|
119
119
|
files: [
|
|
120
|
-
|
|
120
|
+
'*.graphql'
|
|
121
121
|
],
|
|
122
|
-
parser:
|
|
122
|
+
parser: '@graphql-eslint/eslint-plugin',
|
|
123
123
|
plugins: [
|
|
124
|
-
|
|
124
|
+
'@graphql-eslint'
|
|
125
125
|
]
|
|
126
|
-
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
files: [
|
|
129
|
+
'*.json'
|
|
130
|
+
],
|
|
131
|
+
parser: 'eslint-plugin-json-es'
|
|
132
|
+
}
|
|
127
133
|
],
|
|
128
134
|
parser: typescript ?
|
|
129
135
|
'@typescript-eslint/parser' :
|
|
@@ -247,7 +253,7 @@ module.exports = {
|
|
|
247
253
|
return: 'parens-new-line'
|
|
248
254
|
}
|
|
249
255
|
],
|
|
250
|
-
|
|
256
|
+
'react/no-unknown-property': ['error', { ignore: ['styleName'] }]
|
|
251
257
|
} : {},
|
|
252
258
|
jest ? {
|
|
253
259
|
'jest/no-test-callback': 'off'
|