@golms/eslint-config
Advanced tools
Comparing version 1.0.18 to 1.1.0
@@ -60,2 +60,10 @@ /** | ||
"no-plusplus": ["error", { allowForLoopAfterthoughts: true }], | ||
"no-restricted-syntax": [ | ||
"warn", | ||
{ | ||
message: | ||
"Using regular expressions in code can make it harder to maintain and debug. Regular expressions are often complex and difficult to understand, especially for developers who are not familiar with them. This can lead to errors and make it harder to maintain and update code over time. Instead of using regular expressions, consider using simpler and more readable alternatives that are easier to understand and maintain.", | ||
selector: "Literal[regex]", | ||
}, | ||
], | ||
"no-unneeded-ternary": "error", | ||
@@ -62,0 +70,0 @@ "no-useless-concat": "error", |
{ | ||
"name": "@golms/eslint-config", | ||
"version": "1.0.18", | ||
"version": "1.1.0", | ||
"description": "Shared eslint configuration used at Boehringer Ingelheim for code styling", | ||
@@ -30,21 +30,21 @@ "keywords": [ | ||
"peerDependencies": { | ||
"eslint": "8" | ||
"eslint": "^8.34.0" | ||
}, | ||
"dependencies": { | ||
"@rushstack/eslint-patch": "1.2.0", | ||
"@typescript-eslint/eslint-plugin": "5.50.0", | ||
"@typescript-eslint/parser": "5.50.0", | ||
"eslint-import-resolver-typescript": "3.5.3", | ||
"eslint-plugin-import": "2.27.5", | ||
"eslint-plugin-jsx-a11y": "6.7.1", | ||
"eslint-plugin-playwright": "0.12.0", | ||
"eslint-plugin-react": "7.32.2", | ||
"eslint-plugin-react-hooks": "4.6.0", | ||
"eslint-plugin-sonarjs": "0.18.0", | ||
"eslint-plugin-sort-keys-plus": "1.3.1" | ||
"@rushstack/eslint-patch": "^1.2.0", | ||
"@typescript-eslint/eslint-plugin": "^5.52.0", | ||
"@typescript-eslint/parser": "^5.52.0", | ||
"eslint-import-resolver-typescript": "^3.5.3", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jsx-a11y": "^6.7.1", | ||
"eslint-plugin-playwright": "^0.12.0", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-sonarjs": "^0.18.0", | ||
"eslint-plugin-sort-keys-plus": "^1.3.1" | ||
}, | ||
"devDependencies": { | ||
"@boehringer-ingelheim/prettier-config": "1.0.0", | ||
"@commitlint/cli": "17.4.2", | ||
"@commitlint/config-conventional": "17.4.2", | ||
"@commitlint/cli": "17.4.3", | ||
"@commitlint/config-conventional": "17.4.3", | ||
"@commitlint/types": "17.4.0", | ||
@@ -55,5 +55,5 @@ "@semantic-release/changelog": "6.0.2", | ||
"husky": "8.0.3", | ||
"prettier": "2.8.3", | ||
"prettier": "2.8.4", | ||
"semantic-release": "20.1.0" | ||
} | ||
} |
@@ -60,2 +60,12 @@ /** | ||
// eslint: https://github.com/eslint/eslint/tree/main/lib/rules | ||
"no-restricted-syntax": [ | ||
"error", | ||
{ | ||
message: | ||
"Do not declare enums and keep your codebase aligned with the state of JavaScript: https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums", | ||
selector: "TSEnumDeclaration", | ||
}, | ||
], | ||
// eslint-plugin-react: https://github.com/jsx-eslint/eslint-plugin-react/tree/master/lib/rules | ||
@@ -62,0 +72,0 @@ "react/jsx-pascal-case": "error", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18448
225
+ Added@nolyfill/is-core-module@1.0.39(transitive)
+ Added@rtsao/scc@1.1.0(transitive)
+ Added@rushstack/eslint-patch@1.10.4(transitive)
+ Added@typescript-eslint/eslint-plugin@5.62.0(transitive)
+ Added@typescript-eslint/parser@5.62.0(transitive)
+ Added@typescript-eslint/scope-manager@5.62.0(transitive)
+ Added@typescript-eslint/type-utils@5.62.0(transitive)
+ Added@typescript-eslint/types@5.62.0(transitive)
+ Added@typescript-eslint/typescript-estree@5.62.0(transitive)
+ Added@typescript-eslint/utils@5.62.0(transitive)
+ Added@typescript-eslint/visitor-keys@5.62.0(transitive)
+ Addedarray.prototype.findlast@1.2.5(transitive)
+ Addedarray.prototype.findlastindex@1.2.5(transitive)
+ Addedast-types-flow@0.0.8(transitive)
+ Addedaxobject-query@4.1.0(transitive)
+ Addedes-iterator-helpers@1.2.0(transitive)
+ Addedeslint-import-resolver-typescript@3.7.0(transitive)
+ Addedeslint-plugin-import@2.31.0(transitive)
+ Addedeslint-plugin-jsx-a11y@6.10.2(transitive)
+ Addedeslint-plugin-react@7.37.2(transitive)
+ Addedeslint-plugin-react-hooks@4.6.2(transitive)
+ Addedeslint-plugin-sort-keys-plus@1.4.0(transitive)
+ Addedis-bun-module@1.3.0(transitive)
+ Addediterator.prototype@1.1.3(transitive)
+ Addedlanguage-subtag-registry@0.3.23(transitive)
+ Addedlanguage-tags@1.0.9(transitive)
+ Addedobject.groupby@1.0.3(transitive)
+ Addedstable-hash@0.0.4(transitive)
+ Addedstring.prototype.includes@2.0.1(transitive)
+ Addedstring.prototype.repeat@1.0.0(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@pkgr/core@0.1.1(transitive)
- Removed@rushstack/eslint-patch@1.2.0(transitive)
- Removed@typescript-eslint/eslint-plugin@5.50.0(transitive)
- Removed@typescript-eslint/parser@5.50.0(transitive)
- Removed@typescript-eslint/scope-manager@5.50.0(transitive)
- Removed@typescript-eslint/type-utils@5.50.0(transitive)
- Removed@typescript-eslint/types@5.50.0(transitive)
- Removed@typescript-eslint/typescript-estree@5.50.0(transitive)
- Removed@typescript-eslint/utils@5.50.0(transitive)
- Removed@typescript-eslint/visitor-keys@5.50.0(transitive)
- Removedast-types-flow@0.0.7(transitive)
- Removedaxobject-query@3.2.4(transitive)
- Removedeslint-import-resolver-typescript@3.5.3(transitive)
- Removedeslint-plugin-import@2.27.5(transitive)
- Removedeslint-plugin-jsx-a11y@6.7.1(transitive)
- Removedeslint-plugin-react@7.32.2(transitive)
- Removedeslint-plugin-react-hooks@4.6.0(transitive)
- Removedeslint-plugin-sort-keys-plus@1.3.1(transitive)
- Removedeslint-utils@3.0.0(transitive)
- Removedeslint-visitor-keys@2.1.0(transitive)
- Removedglobby@13.2.2(transitive)
- Removedgrapheme-splitter@1.0.4(transitive)
- Removedhas@1.0.4(transitive)
- Removedobject.hasown@1.1.4(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedregexpp@3.2.0(transitive)
- Removedslash@4.0.0(transitive)
- Removedsynckit@0.8.8(transitive)
- Removedtslib@2.8.1(transitive)
Updatedeslint-plugin-import@^2.27.5
Updatedeslint-plugin-react@^7.32.2