-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#174416949] Replace tslint with eslint (#752)
* [#174416949] Replace italia-tslint-rules (tslint) with @pagopa/eslint-config [#174416949] Restore app.ts layout * [#174416949] Apply eslint to app.ts after rebase * [#174416949] Refactor casting with unknown instead any * [#174416949] Fix MessageSubject import path * [#174416949] Revert .test.ts changes * [#174416949] Add NL EOF * [#174416949] Remove useless tslint:disable comment * [#174416949] Remove useless eslint-disable-next-line * [#174416949] Add eslint cache into lint script * [#174416949] Fix after rebase * [#174416949] Fix lint error (bug) * [#174416949] Fix false positive no-shadow on enum * [#174416949] Upgrade @pagopa/eslint-config
- Loading branch information
1 parent
6367908
commit 925e59f
Showing
67 changed files
with
1,472 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Never lint node_modules | ||
node_modules | ||
|
||
# We shouldn't lint assets nor generated files | ||
generated | ||
|
||
**/__tests__/* | ||
**/__mocks__/* | ||
Dangerfile.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"ignorePatterns": [ | ||
"node_modules", | ||
"generated", | ||
"**/__tests__/*", | ||
"**/__mocks__/*", | ||
"Dangerfile.*", | ||
"*.d.ts" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "tsconfig.json", | ||
"sourceType": "module" | ||
}, | ||
"extends": [ | ||
"@pagopa/eslint-config/strong", | ||
], | ||
"rules": { | ||
"prefer-arrow/prefer-arrow-functions": "off", | ||
"@typescript-eslint/naming-convention": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"no-invalid-this": "off" | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.