eslint-config-any 2.3.1 → 2.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-any",
3
- "version": "2.3.1",
3
+ "version": "2.4.1",
4
4
  "description": "ESLint configuration for JavaScript, TypeScript, React & Vue projects, by Julio L. Muller",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -44,35 +44,36 @@
44
44
  "typescript": ">=5.8.0"
45
45
  },
46
46
  "dependencies": {
47
- "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
48
- "@eslint/js": "^9.35.0",
47
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
48
+ "@eslint/js": "^9.39.2",
49
49
  "@eslint/json": "^0.14.0",
50
- "@eslint/markdown": "^7.2.0",
50
+ "@eslint/markdown": "^7.5.1",
51
51
  "eslint-config-prettier": "^10.1.8",
52
- "eslint-plugin-array-func": "^5.0.2",
52
+ "eslint-plugin-array-func": "^5.1.0",
53
53
  "eslint-plugin-import": "^2.32.0",
54
54
  "eslint-plugin-import-helpers": "^2.0.1",
55
55
  "eslint-plugin-jsx-a11y": "^6.10.2",
56
- "eslint-plugin-perfectionist": "^5.3.1",
57
- "eslint-plugin-prettier": "^5.5.4",
56
+ "eslint-plugin-perfectionist": "^5.6.0",
57
+ "eslint-plugin-prettier": "^5.5.5",
58
58
  "eslint-plugin-react": "^7.37.5",
59
59
  "eslint-plugin-react-hooks": "^7.0.1",
60
60
  "eslint-plugin-regexp": "^2.10.0",
61
- "eslint-plugin-vue": "^10.4.0",
62
- "globals": "^17.0.0",
63
- "typescript-eslint": "^8.42.0",
64
- "vue-eslint-parser": "^10.2.0"
61
+ "eslint-plugin-vue": "^10.8.0",
62
+ "globals": "^17.4.0",
63
+ "prettier-plugin-jsdoc": "^1.8.0",
64
+ "typescript-eslint": "^8.56.1",
65
+ "vue-eslint-parser": "^10.4.0"
65
66
  },
66
67
  "devDependencies": {
67
- "@commitlint/cli": "^20.3.1",
68
- "@commitlint/config-conventional": "^20.3.1",
69
- "@types/bun": "^1.3.6",
68
+ "@commitlint/cli": "^20.4.3",
69
+ "@commitlint/config-conventional": "^20.4.3",
70
+ "@types/bun": "^1.3.10",
70
71
  "commitizen": "^4.3.1",
71
72
  "cz-conventional-changelog": "^3.3.0",
72
73
  "eslint": "^9.39.2",
73
74
  "husky": "^9.1.7",
74
- "lint-staged": "^16.2.7",
75
- "prettier": "^3.8.0",
75
+ "lint-staged": "^16.3.2",
76
+ "prettier": "^3.8.1",
76
77
  "typescript": "^5.9.3"
77
78
  }
78
79
  }
@@ -22,13 +22,15 @@ import vueConfigs from './vue/index.js';
22
22
 
23
23
  /**
24
24
  * @param {EslintFlatConfig} otherConfigs
25
- * @return {EslintFlatConfig}
25
+ * @returns {EslintFlatConfig}
26
26
  */
27
27
  function mergeConfigs(otherConfigs) {
28
28
  return [...jsConfigs, ...tsConfigs, ...otherConfigs, ...prettierConfigs];
29
29
  }
30
30
 
31
- /** @type {EslintFlatConfigSetup} */
31
+ /**
32
+ * @type {EslintFlatConfigSetup}
33
+ */
32
34
  export default {
33
35
  commonjs: envConfigs.commonjs,
34
36
  jest: envConfigs.jest,
@@ -8,6 +8,10 @@ export default defineConfig([
8
8
  'prettier/prettier': [
9
9
  'warn',
10
10
  {
11
+ plugins: ['prettier-plugin-jsdoc'],
12
+ jsdocCommentLineStrategy: 'multiline',
13
+ jsdocDescriptionWithDot: true,
14
+ jsdocPrintWidth: 80,
11
15
  printWidth: 100,
12
16
  singleQuote: true,
13
17
  },