Skip to content

Commit

Permalink
Merge pull request TK11235#73 from h-mikisato/feature/migration-tslin…
Browse files Browse the repository at this point in the history
…t-to-eslint

DeprecatedであるTSLintからESLintにマイグレーション
  • Loading branch information
entyu authored Dec 9, 2021
2 parents c00b957 + 264b7bd commit 47b2a80
Show file tree
Hide file tree
Showing 5 changed files with 2,330 additions and 692 deletions.
38 changes: 38 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/no-empty-lifecycle-method": "off",
"@angular-eslint/no-input-rename": "off",
"@angular-eslint/no-output-rename": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
17 changes: 7 additions & 10 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,11 @@
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
},
Expand All @@ -132,6 +128,7 @@
},
"defaultProject": "udonarium",
"cli": {
"analytics": "fedd9061-c6ec-4f58-b40d-888820605663"
"analytics": "fedd9061-c6ec-4f58-b40d-888820605663",
"defaultCollection": "@angular-eslint/schematics"
}
}
}
Loading

0 comments on commit 47b2a80

Please sign in to comment.