@mikey-pro/eslint-config 4.6.2 → 4.6.3
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 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -196,26 +196,18 @@ module.exports = {
|
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
files: ['*.json', '*.jsonc', '*rc'],
|
|
199
|
-
extends: ['plugin:jsonc/
|
|
199
|
+
extends: ['plugin:jsonc/recommended-with-json'],
|
|
200
200
|
parser: 'jsonc-eslint-parser',
|
|
201
201
|
plugins: ['json-format'],
|
|
202
202
|
rules: {
|
|
203
|
-
'jsonc/sort-array-values': [
|
|
204
|
-
1,
|
|
205
|
-
{ pathPattern: '.*', order: { type: 'asc' } },
|
|
206
|
-
],
|
|
207
203
|
'prettier/prettier': [1, { parser: 'json' }],
|
|
208
204
|
},
|
|
209
205
|
},
|
|
210
206
|
{
|
|
211
207
|
files: ['*.json5'],
|
|
212
|
-
extends: ['plugin:jsonc/
|
|
208
|
+
extends: ['plugin:jsonc/recommended-with-json5'],
|
|
213
209
|
parser: 'jsonc-eslint-parser',
|
|
214
210
|
rules: {
|
|
215
|
-
'jsonc/sort-array-values': [
|
|
216
|
-
1,
|
|
217
|
-
{ pathPattern: '.*', order: { type: 'asc' } },
|
|
218
|
-
],
|
|
219
211
|
'prettier/prettier': [1, { parser: 'json5' }],
|
|
220
212
|
},
|
|
221
213
|
},
|