@prowise/eslint-config-linting-rules 1.1.0 → 1.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/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@prowise/eslint-config-linting-rules","version":"1.1.0","description":"Default Prowise linting rules for npm packages.","main":"index.js","exports":{"./default":"./index.js","./typescript":"./typescript.js","./backend":"./backend.js","./frontend":"./frontend.js"},"scripts":{"lint":"eslint **/*.js"},"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/prowise/npm-linting-rules.git"},"author":"Prowise B.V.","license":"UNLICENSED","homepage":"https://bitbucket.org/prowise/npm-linting-rules#readme","dependencies":{"@typescript-eslint/eslint-plugin":"^6.9.0","@typescript-eslint/parser":"^6.9.0","confusing-browser-globals":"^1.0.11","eslint":"^8.52.0","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-import":"^2.29.0","eslint-plugin-jest":"^27.4.3","eslint-plugin-jsdoc":"^46.8.2","eslint-plugin-node":"^11.1.0","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-require-extensions":"^0.1.3","object.assign":"^4.1.4"},"overrides":{"semver":"^7.5.3"}}
1
+ {"name":"@prowise/eslint-config-linting-rules","version":"1.1.2","description":"Default Prowise linting rules for npm packages.","main":"index.js","exports":{"./default":"./index.js","./typescript":"./typescript.js","./backend":"./backend.js","./frontend":"./frontend.js"},"scripts":{"lint":"eslint **/*.js"},"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/prowise/npm-linting-rules.git"},"author":"Prowise B.V.","license":"UNLICENSED","homepage":"https://bitbucket.org/prowise/npm-linting-rules#readme","dependencies":{"@typescript-eslint/eslint-plugin":"^6.18.0","@typescript-eslint/parser":"^6.18.0","confusing-browser-globals":"^1.0.11","eslint":"^8.56.0","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-import":"^2.29.1","eslint-plugin-jest":"^27.6.1","eslint-plugin-jsdoc":"^48.0.2","eslint-plugin-node":"^11.1.0","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-react":"^7.33.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-require-extensions":"^0.1.3","object.assign":"^4.1.5"},"overrides":{"semver":"^7.5.3"}}
@@ -60,8 +60,30 @@ module.exports = {
60
60
  /**
61
61
  * Reports invalid block tag names ✅
62
62
  * https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-check-tag-names.
63
- */
64
- "jsdoc/check-tag-names": "warn",
63
+ * Defined tags are valid typedoc tags
64
+ */
65
+ "jsdoc/check-tag-names": ["warn", {
66
+ definedTags: [
67
+ "alpha",
68
+ "beta",
69
+ "category",
70
+ "defaultValue",
71
+ "eventProperty",
72
+ "experimental",
73
+ "group",
74
+ "hidden",
75
+ "internal",
76
+ "label",
77
+ "link",
78
+ "overload",
79
+ "packageDocumentation",
80
+ "privateRemarks",
81
+ "remarks",
82
+ "template",
83
+ "typeParam",
84
+ "virtual",
85
+ ],
86
+ }],
65
87
 
66
88
  /**
67
89
  * Reports invalid types ✅
@@ -97,6 +97,7 @@ module.exports = {
97
97
  Symbol: {
98
98
  message: "Avoid using the `Symbol` type. Did you mean `symbol`?",
99
99
  },
100
+ "{}": false,
100
101
  },
101
102
  },
102
103
  ],