@prowise/eslint-config-linting-rules 2.3.9 → 2.3.11
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 +1 -1
- package/rules/baseSettings.js +1 -1
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@prowise/eslint-config-linting-rules","version":"2.3.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"2.3.11","description":"Default Prowise linting rules for npm packages.","main":"index.js","type":"module","exports":{"./typescript":"./typescript.js","./backend":"./backend.js","./front-react":"./front-react.js","./front-solid":"./front-solid.js","./next":"./next.js"},"scripts":{"lint":"eslint","test":"node tests/jsx-pascal-case-rule.test.js","inspect":"eslint --inspect-config"},"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":{"@next/eslint-plugin-next":"^16.1.0","@stylistic/eslint-plugin":"^5.6.1","@vitest/eslint-plugin":"^1.5.4","confusing-browser-globals":"^1.0.11","eslint":"^9.39.2","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-file-progress":"^3.0.2","eslint-plugin-import-x":"^4.16.1","eslint-plugin-jsdoc":"^61.5.0","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-n":"^17.23.1","eslint-plugin-prefer-arrow-functions":"^3.9.1","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-solid":"^0.14.5","globals":"^16.5.0","typescript-eslint":"^8.50.0"},"devDependencies":{"@eslint/config-inspector":"^1.4.2"}}
|
package/rules/baseSettings.js
CHANGED
|
@@ -328,7 +328,7 @@ export default {
|
|
|
328
328
|
* Disallow declaration of variables that are not used in the code ✅
|
|
329
329
|
* https://eslint.org/docs/latest/rules/no-unused-vars.
|
|
330
330
|
*/
|
|
331
|
-
"no-unused-vars": ["error", { vars: "all", args: "after-used", caughtErrors: "none", ignoreRestSiblings: true }],
|
|
331
|
+
"no-unused-vars": ["error", { vars: "all", args: "after-used", caughtErrors: "none", ignoreRestSiblings: true, argsIgnorePattern: "^_" }],
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
334
|
* Disallow use of variables before they are defined
|