Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit 30e0bac

Browse files
committed
add prettier to eslint
1 parent 48632b2 commit 30e0bac

File tree

4 files changed

+45
-2
lines changed

4 files changed

+45
-2
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"extends": [
1818
"plugin:@angular-eslint/recommended",
19-
"plugin:@angular-eslint/template/process-inline-templates"
19+
"plugin:@angular-eslint/template/process-inline-templates",
20+
"prettier"
2021
],
2122
"rules": {
2223
"@angular-eslint/directive-selector": [

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

package-lock.json

Lines changed: 39 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@
4646
"@typescript-eslint/eslint-plugin": "5.3.0",
4747
"@typescript-eslint/parser": "5.3.0",
4848
"eslint": "^8.2.0",
49+
"eslint-config-prettier": "^8.3.0",
4950
"jasmine-core": "~3.10.1",
5051
"karma": "~6.3.9",
5152
"karma-chrome-launcher": "~3.1.0",
5253
"karma-coverage": "~2.0.3",
5354
"karma-jasmine": "~4.0.1",
5455
"karma-jasmine-html-reporter": "~1.7.0",
5556
"karma-junit-reporter": "^2.0.1",
57+
"prettier": "^2.5.1",
5658
"typescript": "~4.4.4"
5759
}
58-
}
60+
}

0 commit comments

Comments
 (0)