Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 478f8d3

Browse files
committedOct 2, 2020
chore: extract linstagedrc
1 parent e54ef91 commit 478f8d3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎.lintstagedrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"*.{js,ts}": [
3+
"eslint --ext .js,.ts",
4+
"prettier --write"
5+
],
6+
"*.{json,md}": "prettier --write"
7+
}

‎package.json

-7
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@
4848
"LICENSE",
4949
"README.md"
5050
],
51-
"lint-staged": {
52-
"*.{js,ts}": [
53-
"eslint --ext .js,.ts",
54-
"prettier --write"
55-
],
56-
"*.{json,md}": "prettier --write"
57-
},
5851
"commitlint": {
5952
"extends": [
6053
"@commitlint/config-conventional"

0 commit comments

Comments
 (0)
Please sign in to comment.