Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@golms/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@golms/eslint-config - npm Package Compare versions

Comparing version 1.0.18 to 1.1.0

8

base/index.js

@@ -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",

32

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc