@prowise/eslint-config-linting-rules 3.0.12 → 3.0.15
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":"3.0.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"3.0.15","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.28.8","@htmlacademy/eslint-plugin-jsx-a11y":"^6.11.0","@stylistic/eslint-plugin":"^5.10.0","@vitest/eslint-plugin":"^1.6.28","confusing-browser-globals":"^1.0.11","eslint":"^10.14.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.18.1","eslint-plugin-jsdoc":"^65.4.2","eslint-plugin-n":"^18.5.0","eslint-plugin-prefer-arrow-functions":"^3.10.2","globals":"^17.14.0","nanospinner":"^1.2.2","typescript-eslint":"^8.72.1"},"devDependencies":{"@eslint/config-inspector":"^3.5.0"},"overrides":{"minimatch":"^11.0.5"},"allowScripts":{"unrs-resolver":true}}
|
|
@@ -142,13 +142,13 @@ export default {
|
|
|
142
142
|
"import/no-webpack-loader-syntax": "error",
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* Sort absolute imports together, followed by sibling, parent, and index imports. Ignore unassigned imports. 🔧
|
|
146
146
|
* https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md.
|
|
147
147
|
*/
|
|
148
148
|
"import/order": [
|
|
149
149
|
"error",
|
|
150
150
|
{
|
|
151
|
-
groups: [["builtin", "external", "internal"],
|
|
151
|
+
groups: [["builtin", "external", "internal"], "sibling", "parent", "index"],
|
|
152
152
|
pathGroups: [
|
|
153
153
|
{
|
|
154
154
|
pattern: "react",
|