Skip to content

Commit

Permalink
chore: fix lint-staged (#8443)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyperLife1119 committed Mar 18, 2024
1 parent 1ac84a8 commit c9b8972
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"*.{less}": "stylelint --fix",
"(schematics|scripts|components)/**/*.{html,ts}": "eslint --fix"
}
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,5 @@
"typescript": "~5.3.3",
"yaml-front-matter": "^4.1.1",
"zone.js": "~0.14.2"
},
"lint-staged": {
"(schematics|scripts|components)/**/!(tslint-rules|testing)/!(polyfills).{html,ts}": [
"eslint --fix"
]
}
}

0 comments on commit c9b8972

Please sign in to comment.