@momsfriendlydevco/eslint-config 2.1.3 → 2.1.5

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 +4 -4
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -4,7 +4,7 @@ import pluginUnicorn from 'eslint-plugin-unicorn';
4
4
  import pluginVue from 'eslint-plugin-vue';
5
5
 
6
6
  // Rules shared by both .doop + .vue files
7
- let jsCommonRules = {
7
+ export let JSCommon = {
8
8
  // Generic rules
9
9
  'html-closing-bracket-spacing': ['off'], // Annoying doesn't allow <this-kind-of-thing/>
10
10
  'no-debugger': ['warn'], // Debuggers are fine, just warn
@@ -91,7 +91,7 @@ export default [
91
91
  },
92
92
  rules: {
93
93
  'vue/comment-directive': ['off'], // Screws up block parsing and we don't have <template/> anyway
94
- ...jsCommonRules,
94
+ ...JSCommon,
95
95
  },
96
96
  },
97
97
  // }}}
@@ -100,7 +100,7 @@ export default [
100
100
  {
101
101
  files: ['**/*.js', '**/*.mjs'],
102
102
  rules: {
103
- ...jsCommonRules,
103
+ ...JSCommon,
104
104
  },
105
105
  },
106
106
  // }}}
@@ -225,7 +225,7 @@ export default [
225
225
  ],
226
226
  }],
227
227
 
228
- ...jsCommonRules,
228
+ ...JSCommon,
229
229
  },
230
230
  },
231
231
  // }}}
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.1.3",
4
+ "version": "2.1.5",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "test": "eslint --config index.js test/data"
@@ -24,10 +24,10 @@
24
24
  },
25
25
  "homepage": "https://github.com/MomsFriendlyDevCo/eslint#readme",
26
26
  "dependencies": {
27
- "eslint-plugin-jsdoc": "^50.6.2",
28
- "eslint-plugin-unicorn": "^56.0.1",
29
- "eslint-plugin-vue": "^9.32.0",
30
- "vue-eslint-parser": "^9.4.3"
27
+ "eslint-plugin-jsdoc": "^50.6.9",
28
+ "eslint-plugin-unicorn": "^58.0.0",
29
+ "eslint-plugin-vue": "^10.0.0",
30
+ "vue-eslint-parser": "^10.1.3"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "eslint": ">=9.2.0"