@prowise/eslint-config-linting-rules 2.4.6 → 2.4.7

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -42,9 +42,9 @@ export default [
42
42
 
43
43
  ```
44
44
 
45
- Sample of a `eslint.config.js` file for a frontend project using react and typescript:
45
+ Sample of a `eslint.config.js` file for a react frontend project using react and typescript:
46
46
  ```
47
- import backend from "@prowise/eslint-config-linting-rules/frontend";
47
+ import frontend from "@prowise/eslint-config-linting-rules/front-react";
48
48
 
49
49
  export default [
50
50
  { ignores: [ "**/reports", "**/dist/"] },
@@ -75,7 +75,7 @@ You need to remove all `.eslintrc` and `.eslintignore` files from all sub folder
75
75
 
76
76
  If you want different configuration for the different folders yo can use the following config as example:
77
77
  ```
78
- import frontend from "@prowise/eslint-config-linting-rules/frontend";
78
+ import frontend from "@prowise/eslint-config-linting-rules/front-react";
79
79
 
80
80
  export default [
81
81
  // IGNORES MUST BE ON TOP !
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@prowise/eslint-config-linting-rules","version":"2.4.6","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.2.1","@stylistic/eslint-plugin":"^5.10.0","@vitest/eslint-plugin":"^1.6.13","confusing-browser-globals":"^1.0.11","eslint":"^9.39.4","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-file-progress":"^3.0.2","eslint-plugin-import-x":"^4.16.2","eslint-plugin-jsdoc":"^62.8.1","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-n":"^17.24.0","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":"^17.4.0","typescript-eslint":"^8.58.0"},"devDependencies":{"@eslint/config-inspector":"^1.5.0"}}
1
+ {"name":"@prowise/eslint-config-linting-rules","version":"2.4.7","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.2.6","@stylistic/eslint-plugin":"^5.10.0","@vitest/eslint-plugin":"^1.6.19","confusing-browser-globals":"^1.0.11","eslint":"^9.39.4","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-file-progress":"^3.0.2","eslint-plugin-import-x":"^4.16.2","eslint-plugin-jsdoc":"^62.8.1","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-n":"^17.24.0","eslint-plugin-prefer-arrow-functions":"^3.9.1","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-solid":"^0.14.5","globals":"^17.6.0","typescript-eslint":"^8.60.0"},"devDependencies":{"@eslint/config-inspector":"^3.0.4"}}