New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

@loopback/eslint-config

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loopback/eslint-config - npm Package Compare versions

Comparing version

to
13.0.8

@@ -6,2 +6,13 @@ # Change Log

## [13.0.8](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@13.0.7...@loopback/eslint-config@13.0.8) (2023-02-07)
### Bug Fixes
* disable strictNullChecks check for prefer-nullish-coalescing rule ([abd6469](https://github.com/loopbackio/loopback-next/commit/abd64696f048b73dad018123ecae21ea47c8d97a))
## [13.0.7](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@13.0.6...@loopback/eslint-config@13.0.7) (2023-01-09)

@@ -8,0 +19,0 @@

@@ -15,6 +15,2 @@ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.

root: true,
// Use the typescript-eslint parser
parser: '@typescript-eslint/parser',
// Enable eslint and typescript-eslint
plugins: ['eslint-plugin', '@typescript-eslint', 'mocha'],
env: {

@@ -25,2 +21,8 @@ es6: true,

},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {

@@ -40,11 +42,3 @@ sourceType: 'module',

},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
/**
* Use `prettier` to override default formatting related rules
* See https://github.com/prettier/eslint-config-prettier
*/
'prettier',
],
plugins: ['eslint-plugin', '@typescript-eslint', 'mocha'],
rules: {

@@ -143,3 +137,6 @@ 'prefer-const': 'error',

'@typescript-eslint/prefer-optional-chain': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'@typescript-eslint/prefer-nullish-coalescing': [
'error',
{allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: true}, // See https://github.com/typescript-eslint/typescript-eslint/pull/6174
],
'@typescript-eslint/no-extra-non-null-assertion': 'error',

@@ -241,3 +238,2 @@

},
overrides: [

@@ -244,0 +240,0 @@ {

{
"name": "@loopback/eslint-config",
"description": "ESLint configuration for LoopBack projects",
"version": "13.0.7",
"version": "13.0.8",
"license": "MIT",

@@ -21,12 +21,12 @@ "main": "eslintrc.js",

"peerDependencies": {
"eslint": "^8.28.0"
"eslint": "^8.33.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-eslint-plugin": "^5.0.7",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-eslint-plugin": "^5.0.8",
"eslint-plugin-mocha": "^10.1.0"
},
"gitHead": "06cbcba72ceb28ab5033bae80cc5504c80ac53c2"
"gitHead": "3025b353fa04f6918cd7b435ae7c5864ba2eb9f9"
}