@pumpn/eslint-config 11.1.0 → 11.1.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.
package/.np-config.cjs CHANGED
@@ -1 +1 @@
1
- module.exports = require("@pumpn/np-config");
1
+ module.exports = require("@pumpn/np-config");
package/addons/deno.js CHANGED
@@ -1,5 +1,3 @@
1
- import { fileURLToPath } from "url";
2
-
3
1
  export default {
4
2
  languageOptions: {
5
3
  globals: {
@@ -9,7 +7,7 @@ export default {
9
7
  settings: {
10
8
  "import/resolver": {
11
9
  "@jsenv/importmap-eslint-resolver": {
12
- projectDirectoryUrl: fileURLToPath(new URL(".", import.meta.url)),
10
+ projectDirectoryUrl: process.cwd(),
13
11
  importMapFileRelativeUrl: "./import-map.json"
14
12
  }
15
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpn/eslint-config",
3
- "version": "11.1.0",
3
+ "version": "11.1.2",
4
4
  "description": "standard eslint config for pumpn code projects",
5
5
  "main": "config.js",
6
6
  "author": "Nano Miratus <nanomiratus@gmail.com>",
@@ -10,28 +10,28 @@
10
10
  "repository": "https://github.com/pumpncode/eslint-config",
11
11
  "scripts": {
12
12
  "lint": "eslint .",
13
- "prepublish": "npm run lint",
13
+ "prepublishOnly": "npm run lint",
14
14
  "release": "np",
15
15
  "test": "echo 'no tests yet'"
16
16
  },
17
17
  "devDependencies": {
18
- "@pumpn/np-config": "^2.3.2",
19
- "eslint": "^8.35.0",
18
+ "@pumpn/np-config": "^3.0.0",
19
+ "eslint": "^8.40.0",
20
20
  "eslint-plugin-react": "*",
21
- "np": "^7.6.3"
21
+ "np": "^7.7.0"
22
22
  },
23
23
  "dependencies": {
24
- "@babel/eslint-parser": "^7.19.1",
24
+ "@babel/eslint-parser": "^7.21.8",
25
25
  "@babel/plugin-proposal-export-default-from": "^7.18.10",
26
26
  "@babel/preset-react": "^7.18.6",
27
- "@eslint/js": "^8.35.0",
27
+ "@eslint/js": "^8.40.0",
28
28
  "@jsenv/importmap-eslint-resolver": "^5.2.5",
29
29
  "globals": "^13.20.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "eslint": "^8.34.0",
32
+ "eslint": "^8.40.0",
33
33
  "eslint-plugin-import": "^2.27.5",
34
- "eslint-plugin-jsdoc": "^40.0.0",
34
+ "eslint-plugin-jsdoc": "^44.2.1",
35
35
  "eslint-plugin-react": "^7.32.2",
36
36
  "eslint-plugin-sort-keys-plus": "^1.3.1"
37
37
  }
package/rules/imports.js CHANGED
@@ -72,7 +72,8 @@ export default {
72
72
  "**/protractor.conf.js",
73
73
  "**/protractor.conf.*.js",
74
74
  "**/karma.conf.js",
75
- "**/eslint.config.js"
75
+ "**/eslint.config.js",
76
+ "**/.np-config.cjs"
76
77
  ],
77
78
  optionalDependencies: false
78
79
  }
@@ -129,6 +130,6 @@ export default {
129
130
  "newlines-between": "always"
130
131
  }
131
132
  ],
132
- "import/prefer-default-export": ["error"],
133
+ "import/prefer-default-export": ["off"],
133
134
  "import/unambiguous": "off"
134
135
  };
package/rules/jsdoc.js CHANGED
@@ -22,7 +22,6 @@ export default {
22
22
  "jsdoc/empty-tags": ["warn"],
23
23
  "jsdoc/implements-on-classes": ["warn"],
24
24
  "jsdoc/match-description": ["warn"],
25
- "jsdoc/newline-after-description": ["warn"],
26
25
  "jsdoc/no-bad-blocks": ["warn"],
27
26
  "jsdoc/no-defaults": ["warn"],
28
27
  "jsdoc/no-undefined-types": ["warn"],
@@ -75,5 +74,10 @@ export default {
75
74
  "jsdoc/require-returns-check": ["warn"],
76
75
  "jsdoc/require-returns-description": ["warn"],
77
76
  "jsdoc/require-returns-type": ["warn"],
77
+ "jsdoc/tag-lines": [
78
+ "warn",
79
+ "any",
80
+ { startLines: 1 }
81
+ ],
78
82
  "jsdoc/valid-types": ["warn"]
79
83
  };