@loopback/eslint-config
Advanced tools
Comparing version 8.0.4 to 9.0.0
@@ -6,2 +6,29 @@ # Change Log | ||
# [9.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/eslint-config@8.0.4...@loopback/eslint-config@9.0.0) (2020-08-05) | ||
### Features | ||
* **eslint-config:** disable `createDefaultProgram` ([13dbaf2](https://github.com/strongloop/loopback-next/commit/13dbaf24abad16ac4249cef15f41508d5264ed54)) | ||
### BREAKING CHANGES | ||
* **eslint-config:** We are no longer telling eslint to create a default | ||
program for files not included in `tsconfig.json`. If you start | ||
receiving linter errors after upgrade, you can either add | ||
`createDefaultProgram` to your eslint config manually, modify your | ||
`tsconfig` file to include all files checked by eslint, or exclude | ||
the problematic files from linting by adding them to `.eslintignore` | ||
file. | ||
In projects scaffolded via `lb4 app`, we recommend to add `.eslintrc.js` | ||
file to `.eslintignore` list. | ||
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com> | ||
## [8.0.4](https://github.com/strongloop/loopback-next/compare/@loopback/eslint-config@8.0.3...@loopback/eslint-config@8.0.4) (2020-07-20) | ||
@@ -8,0 +35,0 @@ |
@@ -32,4 +32,2 @@ // Copyright IBM Corp. 2019,2020. All Rights Reserved. | ||
project: getProjectFile(), | ||
// See https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#configuration | ||
createDefaultProgram: true, | ||
ecmaFeatures: { | ||
@@ -36,0 +34,0 @@ ecmaVersion: 2017, |
{ | ||
"name": "@loopback/eslint-config", | ||
"version": "8.0.4", | ||
"version": "9.0.0", | ||
"description": "ESLint configuration for LoopBack projects", | ||
@@ -16,4 +16,4 @@ "engines": { | ||
"dependencies": { | ||
"@typescript-eslint/eslint-plugin": "^3.7.0", | ||
"@typescript-eslint/parser": "^3.7.0", | ||
"@typescript-eslint/eslint-plugin": "^3.8.0", | ||
"@typescript-eslint/parser": "^3.8.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
@@ -24,3 +24,3 @@ "eslint-plugin-eslint-plugin": "^2.3.0", | ||
"peerDependencies": { | ||
"eslint": "^7.5.0" | ||
"eslint": "^7.6.0" | ||
}, | ||
@@ -32,3 +32,3 @@ "repository": { | ||
}, | ||
"gitHead": "5538896411bb56467ae52670a29d1aec1690be74" | ||
"gitHead": "1619bf0c29aa03853a7977212e60028664fca640" | ||
} |
26317
250