Skip to content

Commit

Permalink
Add eslint-config-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Sep 6, 2023
1 parent eb1ccef commit 97b1f62
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
"plugin:@angular-eslint/template/process-inline-templates",
"prettier"
],
"rules": {
"@angular-eslint/component-selector": [
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"@typescript-eslint/parser": "^4.26.0",
"browserslist-config-openmrs": "^1.0.1",
"eslint": "^7.6.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^4.3.0",
"jasmine-core": "^3.8.0",
"jasmine-spec-reporter": "~5.0.0",
Expand Down Expand Up @@ -101,5 +102,6 @@
"prettier --write",
"yarn run lint"
]
}
},
"packageManager": "[email protected]"
}
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2224,6 +2224,7 @@ __metadata:
browserslist-config-openmrs: ^1.0.1
core-js: ^2.5.4
eslint: ^7.6.0
eslint-config-prettier: ^9.0.0
font-awesome: ^4.7.0
hammerjs: ^2.0.8
husky: ^4.3.0
Expand Down Expand Up @@ -5743,6 +5744,17 @@ __metadata:
languageName: node
linkType: hard

"eslint-config-prettier@npm:^9.0.0":
version: 9.0.0
resolution: "eslint-config-prettier@npm:9.0.0"
peerDependencies:
eslint: ">=7.0.0"
bin:
eslint-config-prettier: bin/cli.js
checksum: 362e991b6cb343f79362bada2d97c202e5303e6865888918a7445c555fb75e4c078b01278e90be98aa98ae22f8597d8e93d48314bec6824f540f7efcab3ce451
languageName: node
linkType: hard

"eslint-scope@npm:5.1.1, eslint-scope@npm:^5.1.0, eslint-scope@npm:^5.1.1":
version: 5.1.1
resolution: "eslint-scope@npm:5.1.1"
Expand Down

0 comments on commit 97b1f62

Please sign in to comment.