Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: lint check for prettier formatting (#2039)
Browse files Browse the repository at this point in the history
all prettier rules are enforced by lint check now

---------

Co-authored-by: Sebastian Leidig <sebastian@aam-digital.com>
rudresh and sleidig committed Nov 7, 2023
1 parent 498387f commit e18cb08
Showing 13 changed files with 564 additions and 113 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -50,7 +50,12 @@
}
}
],
"rules": {
"prettier/prettier": "error"
},
"plugins": ["prettier"],
"extends": [
"plugin:storybook/recommended"
"plugin:storybook/recommended",
"prettier"
]
}
16 changes: 16 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"overrides": [
{
"files": "*.html",
"options": {
"parser": "html"
}
},
{
"files": "*.component.html",
"options": {
"parser": "angular"
}
}
]
}
Loading

0 comments on commit e18cb08

Please sign in to comment.