@mikey-pro/eslint-config 4.6.1 → 4.6.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.
Files changed (2) hide show
  1. package/index.js +8 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -200,6 +200,10 @@ module.exports = {
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
+ ],
203
207
  'prettier/prettier': [1, { parser: 'json' }],
204
208
  },
205
209
  },
@@ -208,6 +212,10 @@ module.exports = {
208
212
  extends: ['plugin:jsonc/all'],
209
213
  parser: 'jsonc-eslint-parser',
210
214
  rules: {
215
+ 'jsonc/sort-array-values': [
216
+ 1,
217
+ { pathPattern: '.*', order: { type: 'asc' } },
218
+ ],
211
219
  'prettier/prettier': [1, { parser: 'json5' }],
212
220
  },
213
221
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "4.6.1",
3
+ "version": "4.6.2",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
6
  "dependencies": {