Skip to content

Commit

Permalink
ci: lint staged warning
Browse files Browse the repository at this point in the history
  • Loading branch information
afk-mario committed Dec 8, 2022
1 parent 4cc291d commit ea7bc22
Show file tree
Hide file tree
Showing 3 changed files with 408 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
'./src/**/*.js': ['eslint --fix'],
'./src/**/*.{css}': ['stylelint --fix'],
'./src/**/*.css': ['stylelint --fix'],
'./src/**/*.{js,jsx,ts,tsx,json,css,scss,md}': ['prettier --write']
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"lint": "eslint \"src/**/*.js\"",
"lint:fix": "eslint --fix \"src/**/*.js\"",
"lint:format": "prettier --write \"./**/*.js\"",
"prepare": "husky install"
"prepare": "husky install",
"release": "commit-and-tag-version"
},
"browserslist": {
"production": [
Expand All @@ -58,6 +59,7 @@
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"commit-and-tag-version": "^10.1.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
Expand Down
Loading

0 comments on commit ea7bc22

Please sign in to comment.