@hellomouse/eslint-config 2.0.1-flat.2 → 2.0.1-flat.4

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.cjs +2 -5
  2. package/index.mjs +2 -5
  3. package/package.json +6 -8
package/index.cjs CHANGED
@@ -8,14 +8,11 @@ delete jsdocNoPlugin.plugins;
8
8
  /** @type {import("eslint").Linter.FlatConfig[]} */
9
9
  module.exports = [
10
10
  js.configs.recommended,
11
- ...google,
11
+ google,
12
12
  jsdocNoPlugin,
13
13
  stylistic.configs['disable-legacy'],
14
14
  {
15
- // use new jsdoc comment as jsdoc functionality in core eslint is deprecated
16
- plugins: {
17
- // jsdoc: jsdoc
18
- },
15
+ // jsdoc and stylistic plugins already defined in Google
19
16
  rules: {
20
17
  // highly subjective: dangling commas feel weird,
21
18
  '@stylistic/comma-dangle': ['error', 'never'],
package/index.mjs CHANGED
@@ -6,14 +6,11 @@ import stylistic from '@stylistic/eslint-plugin';
6
6
  /** @type {import("eslint").Linter.FlatConfig[]} */
7
7
  export default [
8
8
  js.configs.recommended,
9
- ...google,
9
+ google,
10
10
  jsdoc.configs['flat/recommended'],
11
11
  stylistic.configs['disable-legacy'],
12
12
  {
13
- // use new jsdoc comment as jsdoc functionality in core eslint is deprecated
14
- plugins: {
15
- jsdoc: jsdoc
16
- },
13
+ // jsdoc and stylistic plugins already defined in Google
17
14
  rules: {
18
15
  // highly subjective: dangling commas feel weird,
19
16
  '@stylistic/comma-dangle': ['error', 'never'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellomouse/eslint-config",
3
- "version": "2.0.1-flat.2",
3
+ "version": "2.0.1-flat.4",
4
4
  "description": "Official ESLint config for Hellomouse, based off of Google's config",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,18 +28,16 @@
28
28
  },
29
29
  "homepage": "https://github.com/hellomouse/eslint-config#readme",
30
30
  "dependencies": {
31
- "@stylistic/eslint-plugin": ">= 1.1.0",
31
+ "@stylistic/eslint-plugin": ">= 1.1.0 < 4",
32
32
  "@eslint/js": "^9.2.0",
33
33
  "eslint-plugin-jsdoc": ">=48.2.3",
34
- "@hellomouse/eslint-config-google": "0.15.0-flat.1"
34
+ "@hellomouse/eslint-config-google": "0.15.0-flat.3"
35
35
  },
36
36
  "peerDependencies": {
37
- "eslint": ">=8.57 < 9"
37
+ "eslint": ">=8.57"
38
38
  },
39
39
  "exports": {
40
- ".": {
41
- "import": "./index.mjs",
42
- "require": "./index.cjs"
43
- }
40
+ "import": "./index.mjs",
41
+ "require": "./index.cjs"
44
42
  }
45
43
  }