Skip to content

Commit

Permalink
chore: move lint-staged config to lintstagedrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinusnathaniel committed Oct 2, 2021
1 parent ee2ac55 commit cc246fb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
File renamed without changes.
7 changes: 7 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix --max-warnings=0",
"prettier --write"
],
"src/**/*.{json,css,scss,md}": ["prettier --write"]
}
File renamed without changes.
9 changes: 0 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,5 @@
"prettier": "^2.4.1",
"standard-version": "^9.3.1",
"typescript": "^4.4.3"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --max-warnings=0",
"prettier --write"
],
"src/**/*.{json,css,scss,md}": [
"prettier --write"
]
}
}

1 comment on commit cc246fb

@vercel
Copy link

@vercel vercel bot commented on cc246fb Oct 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.