@mikey-pro/eslint-config 7.5.1 → 7.5.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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/overrides.js +25 -1
  3. package/package.json +14 -14
package/index.js CHANGED
@@ -34,7 +34,7 @@ module.exports = {
34
34
  'LICENSE',
35
35
  'CNAME',
36
36
  ],
37
- overrides: [...overrides],
37
+ overrides: [...overrides.base],
38
38
  parser: '@babel/eslint-parser',
39
39
  parserOptions: {
40
40
  babelOptions: {
package/overrides.js CHANGED
@@ -262,7 +262,7 @@ const cypress = {
262
262
  extends: ['plugin:cypress/recommended'],
263
263
  };
264
264
 
265
- module.exports = {
265
+ const all = {
266
266
  ts,
267
267
  css,
268
268
  scss,
@@ -279,3 +279,27 @@ module.exports = {
279
279
  jestTs,
280
280
  cypress,
281
281
  };
282
+
283
+ const base = {
284
+ ts,
285
+ css,
286
+ scss,
287
+ less,
288
+ yaml,
289
+ toml,
290
+ md,
291
+ packageJson,
292
+ mdJson,
293
+ html,
294
+ jsonc,
295
+ json5,
296
+ jestJs,
297
+ jestTs,
298
+ cypress,
299
+ };
300
+
301
+ module.exports = {
302
+ ...all,
303
+ all: Object.values(all),
304
+ base: Object.values(base),
305
+ };
package/package.json CHANGED
@@ -1,38 +1,38 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "7.5.1",
3
+ "version": "7.5.3",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
6
  "dependencies": {
7
- "@babel/core": "^7.24.4",
7
+ "@babel/core": "^7.24.6",
8
8
  "@babel/eslint-parser": "^7.24",
9
- "@babel/eslint-plugin": "^7.23",
9
+ "@babel/eslint-plugin": "^7.24",
10
10
  "@babel/preset-env": "^7.24",
11
11
  "@cypress/eslint-plugin-json": "^3.2.3",
12
12
  "@html-eslint/eslint-plugin": "^0.24.1",
13
13
  "@html-eslint/parser": "^0.24.1",
14
- "@typescript-eslint/eslint-plugin": "^7.7.1",
15
- "@typescript-eslint/parser": "^7.7.1",
14
+ "@typescript-eslint/eslint-plugin": "^7.11.0",
15
+ "@typescript-eslint/parser": "^7.11.0",
16
16
  "eslint-config-prettier": "^9.1",
17
17
  "eslint-import-resolver-typescript": "^3.6.1",
18
18
  "eslint-plugin-compat": "^4.2",
19
19
  "eslint-plugin-css-modules": "^2.12",
20
- "eslint-plugin-cypress": "^3.0.2",
21
- "eslint-plugin-disable-autofix": "^4.3.0",
20
+ "eslint-plugin-cypress": "^3.3.0",
21
+ "eslint-plugin-disable-autofix": "^5.0.0",
22
22
  "eslint-plugin-import": "^2.29.1",
23
- "eslint-plugin-jest": "^28.3.0",
24
- "eslint-plugin-jsonc": "^2.15.1",
25
- "eslint-plugin-markdownlint": "^0.5.0",
26
- "eslint-plugin-n": "^17.3.1",
23
+ "eslint-plugin-jest": "^28.5.0",
24
+ "eslint-plugin-jsonc": "^2.16.0",
25
+ "eslint-plugin-markdownlint": "^0.6.0",
26
+ "eslint-plugin-n": "^17.7.0",
27
27
  "eslint-plugin-only-warn": "^1.1.0",
28
28
  "eslint-plugin-prettier": "^5.1",
29
- "eslint-plugin-promise": "^6.1.1",
29
+ "eslint-plugin-promise": "^6.2.0",
30
30
  "eslint-plugin-toml": "^0.11.0",
31
- "eslint-plugin-unicorn": "^52.0.0",
31
+ "eslint-plugin-unicorn": "^53.0.0",
32
32
  "eslint-plugin-yml": "^1.14.0",
33
33
  "postcss": "^8.4.38",
34
34
  "postcss-scss": "^4.0.9",
35
- "yaml-eslint-parser": "^1.2.2"
35
+ "yaml-eslint-parser": "^1.2.3"
36
36
  },
37
37
  "files": [
38
38
  "index.js",