@boxine/eslint-config-base
Advanced tools
Comparing version 1.7.0 to 1.8.0-rc.0
@@ -6,3 +6,3 @@ # Change Log | ||
# [1.7.0](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.6.0...v1.7.0) (2020-10-28) | ||
# [1.8.0-rc.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.7.0...v1.8.0-rc.0) (2021-01-13) | ||
@@ -12,3 +12,3 @@ | ||
* **eslint-plugin-import:** add no-useless-path-segments rule ([4f8f4ae](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/4f8f4ae41dbaa5e461b748571908bf0173f2dae2)) | ||
* **ts:** Add typescript support for eslint config base ([ce37d54](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/ce37d5404acf227a65e54ead87cd4e2785a19aee)) | ||
@@ -19,3 +19,3 @@ | ||
# [1.6.0](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.5.1...v1.6.0) (2020-05-25) | ||
# [1.7.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.6.0...v1.7.0) (2020-10-28) | ||
@@ -25,3 +25,3 @@ | ||
* **plugin:** add sonarjs plugin for eslint ([9df084c](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/9df084c575e35f455f1d27858e2d8f3c2682ae93)) | ||
* **eslint-plugin-import:** add no-useless-path-segments rule ([4f8f4ae](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/4f8f4ae41dbaa5e461b748571908bf0173f2dae2)) | ||
@@ -32,4 +32,15 @@ | ||
## [1.5.1](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.5.0...v1.5.1) (2020-05-20) | ||
# [1.6.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.5.1...v1.6.0) (2020-05-25) | ||
### Features | ||
* **plugin:** add sonarjs plugin for eslint ([9df084c](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/9df084c575e35f455f1d27858e2d8f3c2682ae93)) | ||
## [1.5.1](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.5.0...v1.5.1) (2020-05-20) | ||
**Note:** Version bump only for package @boxine/eslint-config-base | ||
@@ -41,3 +52,3 @@ | ||
# [1.5.0](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.5.0-rc.1...v1.5.0) (2020-05-19) | ||
# [1.5.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.5.0-rc.1...v1.5.0) (2020-05-19) | ||
@@ -50,3 +61,3 @@ **Note:** Version bump only for package @boxine/eslint-config-base | ||
# [1.5.0-rc.1](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.5.0-rc.0...v1.5.0-rc.1) (2020-05-19) | ||
# [1.5.0-rc.1](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.5.0-rc.0...v1.5.0-rc.1) (2020-05-19) | ||
@@ -59,3 +70,3 @@ **Note:** Version bump only for package @boxine/eslint-config-base | ||
# [1.5.0-rc.0](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.4.1...v1.5.0-rc.0) (2020-05-15) | ||
# [1.5.0-rc.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.4.1...v1.5.0-rc.0) (2020-05-15) | ||
@@ -65,3 +76,3 @@ | ||
* **prettier:** update prettier to v2 ([63b251f](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/63b251f32e3e8b9b72bc7fd53af99bf4d739b51d)) | ||
* **prettier:** update prettier to v2 ([63b251f](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/63b251f32e3e8b9b72bc7fd53af99bf4d739b51d)) | ||
@@ -72,3 +83,3 @@ | ||
## [1.4.1](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.4.0...v1.4.1) (2020-05-12) | ||
## [1.4.1](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.4.0...v1.4.1) (2020-05-12) | ||
@@ -81,3 +92,3 @@ **Note:** Version bump only for package @boxine/eslint-config-base | ||
# [1.4.0](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.3.0...v1.4.0) (2020-05-11) | ||
# [1.4.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.3.0...v1.4.0) (2020-05-11) | ||
@@ -90,3 +101,3 @@ **Note:** Version bump only for package @boxine/eslint-config-base | ||
# [1.3.0](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.2.3...v1.3.0) (2020-04-30) | ||
# [1.3.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.2.3...v1.3.0) (2020-04-30) | ||
@@ -99,3 +110,3 @@ **Note:** Version bump only for package @boxine/eslint-config-base | ||
## [1.2.2](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.2.1...v1.2.2) (2020-04-24) | ||
## [1.2.2](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.2.1...v1.2.2) (2020-04-24) | ||
@@ -108,3 +119,3 @@ **Note:** Version bump only for package @boxine/eslint-config-base | ||
## [1.2.1](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.2.0...v1.2.1) (2020-04-24) | ||
## [1.2.1](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.2.0...v1.2.1) (2020-04-24) | ||
@@ -114,3 +125,3 @@ | ||
* public access and rename release branch name ([b3f0416](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/b3f0416cd401b147768365bdaaf853dcee389c5b)) | ||
* public access and rename release branch name ([b3f0416](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/b3f0416cd401b147768365bdaaf853dcee389c5b)) | ||
@@ -121,3 +132,3 @@ | ||
# [1.2.0](https://gitlab.boxine.de/tonies/eslint-config-boxine/compare/v1.1.0...v1.2.0) (2020-04-24) | ||
# [1.2.0](https://gitlab.boxine.de/tonies/shared-config-boxine/compare/v1.1.0...v1.2.0) (2020-04-24) | ||
@@ -135,5 +146,5 @@ **Note:** Version bump only for package @boxine/eslint-config-base | ||
* **ci:** fix stage setup ([03f04fc](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/03f04fc13facf64c230fb4bf9b55082c1d29ab59)) | ||
* fix version in peer dependencies ([d64e8b6](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/d64e8b6ca01c384094254ed1211f59d865529e27)) | ||
* remove unused test scripts ([36d89d0](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/36d89d0c66c0126c92bd7b2f8e147a9bf1e5ea66)) | ||
* **ci:** fix stage setup ([03f04fc](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/03f04fc13facf64c230fb4bf9b55082c1d29ab59)) | ||
* fix version in peer dependencies ([d64e8b6](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/d64e8b6ca01c384094254ed1211f59d865529e27)) | ||
* remove unused test scripts ([36d89d0](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/36d89d0c66c0126c92bd7b2f8e147a9bf1e5ea66)) | ||
@@ -143,3 +154,3 @@ | ||
* **utils:** add postinstall script ([907d489](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/907d489081f5d3ca02d253e6998b550aba7578c1)) | ||
* **utils:** add utils ([5c5dd83](https://gitlab.boxine.de/tonies/eslint-config-boxine/commit/5c5dd833f0ff5dcc95805d2d5ad07145052c3a94)) | ||
* **utils:** add postinstall script ([907d489](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/907d489081f5d3ca02d253e6998b550aba7578c1)) | ||
* **utils:** add utils ([5c5dd83](https://gitlab.boxine.de/tonies/shared-config-boxine/commit/5c5dd833f0ff5dcc95805d2d5ad07145052c3a94)) |
40
index.js
@@ -0,22 +1,30 @@ | ||
const rules = require('./rules') | ||
const settings = { | ||
'import/extensions': ['.js'], | ||
} | ||
module.exports = { | ||
extends: ['plugin:sonarjs/recommended', 'plugin:prettier/recommended'], | ||
plugins: ['prettier', 'sonarjs', 'import'], | ||
rules: { | ||
// reasonable rules, but requires too many changes at once | ||
'sonarjs/cognitive-complexity': 'warn', | ||
'sonarjs/no-small-switch': 'warn', | ||
// some code duplication is better than an abstraction | ||
'sonarjs/no-identical-functions': 'off', | ||
'sonarjs/no-duplicate-string': 'off', | ||
rules: rules.base, | ||
settings, | ||
overrides: [ | ||
{ | ||
files: ['*.ts'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
'import/no-useless-path-segments': [ | ||
'warn', | ||
{ | ||
noUselessIndex: true, | ||
// typescript-eslint specific options | ||
warnOnUnsupportedTypeScriptVersion: true, | ||
}, | ||
], | ||
}, | ||
settings: { | ||
'import/extensions': ['.js', '.jsx', '.ts', '.tsx'], | ||
}, | ||
plugins: ['@typescript-eslint'], | ||
rules: rules.typescript, | ||
settings: { | ||
'import/extensions': settings['import/extensions'].concat('.ts'), | ||
}, | ||
}, | ||
], | ||
} |
{ | ||
"name": "@boxine/eslint-config-base", | ||
"version": "1.7.0", | ||
"version": "1.8.0-rc.0", | ||
"description": "Base configuration for ESLint used by Boxine GmbH", | ||
@@ -15,6 +15,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"@boxine/eslint-config-utils": "^1.7.0", | ||
"@boxine/prettier-config": "^1.7.0" | ||
"@boxine/eslint-config-utils": "^1.8.0-rc.0", | ||
"@boxine/prettier-config": "^1.8.0-rc.0" | ||
}, | ||
"peerDependencies": { | ||
"@typescript-eslint/eslint-plugin": "2.x", | ||
"@typescript-eslint/parser": "2.x", | ||
"eslint": "6.x", | ||
@@ -24,5 +26,6 @@ "eslint-config-prettier": "6.x", | ||
"eslint-plugin-sonarjs": ">=0.5.0", | ||
"prettier": "2.x" | ||
"prettier": "2.x", | ||
"typescript": ">=3.8.0" | ||
}, | ||
"gitHead": "9ad73674bb6f55e0dd7c67a02a382e174ea1411d" | ||
"gitHead": "075357fb141a7eda4b61226a9802088a2f80c050" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
8062
5
88
10
2
+ Added@boxine/eslint-config-utils@1.8.0-rc.0(transitive)
+ Added@boxine/prettier-config@1.8.0-rc.0(transitive)
+ Added@types/eslint-visitor-keys@1.0.0(transitive)
+ Added@typescript-eslint/eslint-plugin@2.34.0(transitive)
+ Added@typescript-eslint/experimental-utils@2.34.0(transitive)
+ Added@typescript-eslint/parser@2.34.0(transitive)
+ Added@typescript-eslint/typescript-estree@2.34.0(transitive)
+ Addedeslint-utils@2.1.0(transitive)
+ Addedregexpp@3.2.0(transitive)
+ Addedtsutils@3.21.0(transitive)
- Removed@boxine/eslint-config-utils@1.7.0(transitive)
- Removed@boxine/prettier-config@1.7.0(transitive)