@prowise/eslint-config-linting-rules 3.0.7 → 3.0.8
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/eslint.config.js +2 -2
- package/next.js +2 -2
- package/package.json +1 -1
- package/rules/plugin-next-rules.js +2 -2
package/eslint.config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import base from "./base.js";
|
|
2
2
|
import jsx from "./rules/jsx-pascal-case-rule.js";
|
|
3
3
|
import jsxA11y from "./rules/plugin-jsx-a11y-rules.js";
|
|
4
|
-
import next from "./rules/plugin-next-rules.js";
|
|
4
|
+
// import next from "./rules/plugin-next-rules.js";
|
|
5
5
|
import node from "./rules/plugin-node-rules.js";
|
|
6
6
|
import react from "./rules/plugin-react-rules.js";
|
|
7
7
|
import typescript from "./rules/plugin-typescript-rules.js";
|
|
@@ -15,7 +15,7 @@ export default [
|
|
|
15
15
|
typescript,
|
|
16
16
|
vitest,
|
|
17
17
|
react,
|
|
18
|
-
next,
|
|
18
|
+
// next,
|
|
19
19
|
jsxA11y,
|
|
20
20
|
{
|
|
21
21
|
plugins: { jsx },
|
package/next.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import globals from "globals";
|
|
2
2
|
import base from "./base.js";
|
|
3
3
|
import jsx from "./rules/jsx-pascal-case-rule.js";
|
|
4
|
-
import next from "./rules/plugin-next-rules.js";
|
|
4
|
+
// import next from "./rules/plugin-next-rules.js";
|
|
5
5
|
import react from "./rules/plugin-react-rules.js";
|
|
6
6
|
import typescript from "./rules/plugin-typescript-rules.js";
|
|
7
7
|
import vitest from "./rules/plugin-vitest-rules.js";
|
|
@@ -10,7 +10,7 @@ export default [
|
|
|
10
10
|
base,
|
|
11
11
|
typescript,
|
|
12
12
|
react,
|
|
13
|
-
next,
|
|
13
|
+
// next, (disabled due to high vulnerability)
|
|
14
14
|
vitest,
|
|
15
15
|
{
|
|
16
16
|
plugins: { typescript: typescript.plugins.typescript, jsx },
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@prowise/eslint-config-linting-rules","version":"3.0.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"3.0.8","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/*.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":{"@eslint-react/eslint-plugin":"^5.23.3","@htmlacademy/eslint-plugin-jsx-a11y":"^6.11.0","@stylistic/eslint-plugin":"^5.10.0","@vitest/eslint-plugin":"^1.6.27","confusing-browser-globals":"^1.0.11","eslint":"^10.11.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.17.1","eslint-plugin-jsdoc":"^65.0.1","eslint-plugin-n":"^18.4.0","eslint-plugin-prefer-arrow-functions":"^3.10.2","globals":"^17.13.0","nanospinner":"^1.2.2","typescript-eslint":"^8.71.0"},"devDependencies":{"@eslint/config-inspector":"^3.5.0"},"overrides":{"minimatch":"^10.2.5"},"allowScripts":{"unrs-resolver@1.12.2":true}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import nextPlugin from "@next/eslint-plugin-next";
|
|
1
|
+
// import nextPlugin from "@next/eslint-plugin-next";
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
4
|
/*
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
plugins: {
|
|
13
|
-
next: nextPlugin,
|
|
13
|
+
// next: nextPlugin,
|
|
14
14
|
},
|
|
15
15
|
|
|
16
16
|
rules: {
|