@prowise/eslint-config-linting-rules 2.1.4 → 2.1.5
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/base.js +10 -0
- package/package.json +1 -1
package/base.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Basic rules for all javascript projects
|
|
3
3
|
*/
|
|
4
|
+
import progress from "eslint-plugin-file-progress";
|
|
4
5
|
import base from "./rules/baseSettings.js";
|
|
5
6
|
import imports from "./rules/plugin-import-rules.js";
|
|
6
7
|
import jsDoc from "./rules/plugin-jsdoc-rules.js";
|
|
@@ -15,6 +16,7 @@ export default {
|
|
|
15
16
|
},
|
|
16
17
|
|
|
17
18
|
plugins: {
|
|
19
|
+
progress,
|
|
18
20
|
...style.plugins,
|
|
19
21
|
...imports.plugins,
|
|
20
22
|
...jsDoc.plugins,
|
|
@@ -22,10 +24,18 @@ export default {
|
|
|
22
24
|
},
|
|
23
25
|
|
|
24
26
|
rules: {
|
|
27
|
+
"progress/activate": "warn",
|
|
25
28
|
...base.rules,
|
|
26
29
|
...style.rules,
|
|
27
30
|
...imports.rules,
|
|
28
31
|
...jsDoc.rules,
|
|
29
32
|
...preferArrow.rules,
|
|
30
33
|
},
|
|
34
|
+
settings: {
|
|
35
|
+
progress: {
|
|
36
|
+
hide: process.env.CI === "true",
|
|
37
|
+
hideFileName: false,
|
|
38
|
+
successMessage: "ESLint done!",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
31
41
|
};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@prowise/eslint-config-linting-rules","version":"2.1.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"2.1.5","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","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":"^15.1.3","@stylistic/eslint-plugin":"^2.12.1","confusing-browser-globals":"^1.0.11","eslint":"^9.17.0","eslint-import-resolver-typescript":"^3.7.0","eslint-plugin-file-progress":"^3.0.1","eslint-plugin-import-x":"^4.6.1","eslint-plugin-jest":"^28.10.0","eslint-plugin-jsdoc":"^50.6.1","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-n":"^17.15.1","eslint-plugin-prefer-arrow-functions":"^3.4.1","eslint-plugin-react":"^7.37.3","eslint-plugin-react-hooks":"^5.1.0","eslint-plugin-solid":"^0.14.5","eslint-plugin-vitest":"^0.5.4","globals":"^15.14.0","typescript-eslint":"^8.19.0"},"devDependencies":{"@eslint/config-inspector":"^0.7.0"}}
|