@momsfriendlydevco/eslint-config 2.3.1 → 2.4.0

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/eslint.config.js +11 -18
  2. package/package.json +7 -7
package/eslint.config.js CHANGED
@@ -1,21 +1,14 @@
1
+ import {defineConfig, globalIgnores} from "eslint/config";
1
2
  import RulesMFDC from '@momsfriendlydevco/eslint-config';
2
3
 
3
- export default [
4
- {
5
- // Global ignore rules - Do not add any other keys to this object or eslint doesn't treat this as global
6
- ignores: [
7
- '.*',
8
- 'docs/',
9
- 'dist/',
10
- 'node_modules/',
11
- ],
12
-
13
- // Generic globals
14
- languageOptions: {
15
- globals: {
16
- // Put custom globals here
17
- },
18
- },
19
- },
4
+ export default defineConfig([
5
+ globalIgnores([
6
+ '.*',
7
+ 'docs/',
8
+ 'dist/',
9
+ 'node_modules/',
10
+ 'public/',
11
+ '**/.wrangler/',
12
+ ]),
20
13
  ...RulesMFDC,
21
- ]
14
+ ])
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momsfriendlydevco/eslint-config",
3
3
  "description": "ESLint plugin for @MomsFriendlyDevCo projects",
4
- "version": "2.3.1",
4
+ "version": "2.4.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "test": "eslint --config index.js test/data"
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "homepage": "https://github.com/MomsFriendlyDevCo/eslint#readme",
26
26
  "dependencies": {
27
- "eslint-plugin-jsdoc": "^51.3.4",
28
- "eslint-plugin-unicorn": "^59.0.1",
29
- "eslint-plugin-vue": "^10.3.0",
30
- "globals": "^16.3.0",
31
- "vue-eslint-parser": "^10.2.0"
27
+ "eslint-plugin-jsdoc": "^62.8.0",
28
+ "eslint-plugin-unicorn": "^63.0.0",
29
+ "eslint-plugin-vue": "^10.8.0",
30
+ "globals": "^17.4.0",
31
+ "vue-eslint-parser": "^10.4.0"
32
32
  },
33
33
  "peerDependencies": {
34
- "eslint": "^9.26.0"
34
+ "eslint": "^10.0.3"
35
35
  }
36
36
  }