@prowise/eslint-config-linting-rules 3.0.9 → 3.0.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 CHANGED
@@ -1 +1 @@
1
- {"name":"@prowise/eslint-config-linting-rules","version":"3.0.9","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
+ {"name":"@prowise/eslint-config-linting-rules","version":"3.0.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/*.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.13.0","eslint-import-resolver-typescript":"^4.4.5","eslint-plugin-import-x":"^4.17.1","eslint-plugin-jsdoc":"^65.4.2","eslint-plugin-n":"^18.5.0","eslint-plugin-prefer-arrow-functions":"^3.10.2","globals":"^17.13.0","nanospinner":"^1.2.2","typescript-eslint":"^8.72.1"},"devDependencies":{"@eslint/config-inspector":"^3.5.0"},"overrides":{"minimatch":"^10.2.5"},"allowScripts":{"unrs-resolver@1.12.2":true}}
@@ -191,9 +191,10 @@ export default {
191
191
  MethodDefinition: true,
192
192
  },
193
193
  contexts: [
194
- // @see https://ts-ast-viewer.com/#
195
194
  "ClassProperty",
196
195
  "FunctionDeclaration",
196
+ "TSInterfaceDeclaration",
197
+ "TSPropertySignature",
197
198
  "VariableStatement",
198
199
  ],
199
200
  },
@@ -19,7 +19,7 @@ export default {
19
19
  parserOptions: {
20
20
  ecmaVersion: "latest",
21
21
  sourceType: "module",
22
- projectService: true,
22
+ projectService: { allowDefaultProject: ["*.ts", "*.js"] },
23
23
  },
24
24
  },
25
25