Skip to content

Commit

Permalink
feat: update tslint-to-eslint-config to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed May 13, 2021
1 parent 19f0e58 commit 7352ad2
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 26 deletions.
Expand Up @@ -2,6 +2,7 @@
"extends": "./configs/base.json",
"rules": {
"@angular-eslint/template/banana-in-box": "error",
"@angular-eslint/template/eqeqeq": "error",
"@angular-eslint/template/no-negated-async": "error"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin-template/src/rules/eqeqeq.ts
Expand Up @@ -18,7 +18,7 @@ export default createESLintRule<Options, MessageIds>({
docs: {
description: 'Requires `===` and `!==` in place of `==` and `!=`',
category: 'Best Practices',
recommended: false,
recommended: 'error',
},
fixable: 'code',
schema: [
Expand Down
2 changes: 1 addition & 1 deletion packages/schematics/package.json
Expand Up @@ -41,7 +41,7 @@
"@types/tmp": "0.2.0",
"@typescript-eslint/experimental-utils": "4.23.0",
"eslint": "^7.26.0",
"tslint-to-eslint-config": "^2.3.0"
"tslint-to-eslint-config": "^2.4.0"
},
"peerDependencies": {
"@angular/cli": ">= 12.0.0 < 13.0.0"
Expand Down
Expand Up @@ -101,6 +101,7 @@ describe('convertToESLintConfig()', () => {
"@angular-eslint/no-output-rename": "error",
"@angular-eslint/no-outputs-metadata-property": "error",
"@angular-eslint/template/banana-in-box": "error",
"@angular-eslint/template/eqeqeq": "error",
"@angular-eslint/template/no-negated-async": "error",
"@angular-eslint/use-lifecycle-interface": "error",
"@angular-eslint/use-pipe-transform-interface": "error",
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/generate-configs.ts
Expand Up @@ -278,7 +278,7 @@ const allTemplateConfig: LinterConfig = {
(config, entry) =>
reducer('@angular-eslint/template/', config, entry, {
errorLevel: 'error',
filterDeprecated: true,
filterDeprecated: false,
}),
{},
),
Expand Down
54 changes: 31 additions & 23 deletions yarn.lock
Expand Up @@ -5197,6 +5197,14 @@ chalk@4.1.0, chalk@^4.0.0, chalk@^4.1.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"

chalk@4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.1.tgz#c80b3fab28bf6371e6863325eee67e618b77e6ad"
integrity sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==
dependencies:
ansi-styles "^4.1.0"
supports-color "^7.1.0"

chalk@^1.0.0, chalk@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
Expand Down Expand Up @@ -6976,10 +6984,10 @@ eslint-config-prettier@7.1.0:
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.1.0.tgz#5402eb559aa94b894effd6bddfa0b1ca051c858f"
integrity sha512-9sm5/PxaFG7qNJvJzTROMM1Bk1ozXVTKI0buKOyb0Bsr1hrwi0H/TzxF/COtf1uxikIK8SwhX7K6zg78jAzbeA==

eslint-config-prettier@8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.2.0.tgz#78de77d63bca8e9e59dae75a614b5299925bb7b3"
integrity sha512-dWV9EVeSo2qodOPi1iBYU/x6F6diHv8uujxbxr77xExs3zTAlNXvVZKiyLsQGNz7yPV2K49JY5WjPzNIuDc2Bw==
eslint-config-prettier@8.3.0:
version "8.3.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz#f7471b20b6fe8a9a9254cc684454202886a2dd7a"
integrity sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==

eslint-scope@^5.0.0, eslint-scope@^5.1.0:
version "5.1.0"
Expand Down Expand Up @@ -7912,18 +7920,6 @@ glob@7.1.4:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@7.1.6, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
version "7.1.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@7.1.7:
version "7.1.7"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
Expand All @@ -7947,6 +7943,18 @@ glob@^6.0.1:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
version "7.1.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

global-dirs@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445"
Expand Down Expand Up @@ -15317,16 +15325,16 @@ tslib@^2.0.3:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a"
integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==

tslint-to-eslint-config@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/tslint-to-eslint-config/-/tslint-to-eslint-config-2.3.0.tgz#9573200403f7ababfe865071e9113fc80dcde7ab"
integrity sha512-m4/6MNI9NADIpyAwpRxT5ouih5uJt2mmwqB4yKmbwOkuLF5w4jKVCw9nc8KTZz/i7TlFirvRCrpQJil9E2e+Ig==
tslint-to-eslint-config@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/tslint-to-eslint-config/-/tslint-to-eslint-config-2.4.0.tgz#8975ab583378910b25ea5bd3efc6b8f06928dd24"
integrity sha512-pXJz1JWwt9WD4lMnSIudh0S7z12AibNpNSTuaOwRT/9dd2VyP95kzG8ZktWTKDtMgJvbMHvBYp2TmerFrXNs6A==
dependencies:
chalk "4.1.0"
chalk "4.1.1"
commander "7.2.0"
cson-parser "4.0.9"
eslint-config-prettier "8.2.0"
glob "7.1.6"
eslint-config-prettier "8.3.0"
glob "7.1.7"
json5 "2.2.0"
lodash "4.17.21"
minimatch "3.0.4"
Expand Down

0 comments on commit 7352ad2

Please sign in to comment.