generated from pagopa/io-template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#IP-86] tslint to eslint migrations
- Loading branch information
Michael Disaro
committed
Apr 2, 2021
1 parent
b587ce4
commit c3549ac
Showing
11 changed files
with
1,519 additions
and
198 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,34 @@ | ||
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": { | ||
"import/order": "off", | ||
"@typescript-eslint/array-type": "off", | ||
"@typescript-eslint/explicit-member-accessibility": "off", | ||
"functional/prefer-readonly-type": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"no-invalid-this": "off", | ||
"prefer-arrow/prefer-arrow-functions": "off", | ||
"@typescript-eslint/prefer-optional-chain": "off", | ||
"no-underscore-dangle": "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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,7 @@ coverage | |
.vscode | ||
obj | ||
bin | ||
|
||
# eslint section | ||
!.eslintrc.js | ||
.eslintcache |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// import custom DangerJS rules | ||
// see http://danger.systems/js | ||
// see https://github.com/teamdigitale/danger-plugin-digitalcitizenship/ | ||
// tslint:disable-next-line:prettier | ||
// eslint-disable-next-line prettier/prettier | ||
import checkDangers from 'danger-plugin-digitalcitizenship'; | ||
|
||
checkDangers(); |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.