Skip to content

Commit

Permalink
(chore) Fix Prettier glob patterns (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Apr 22, 2024
1 parent a61bfa4 commit 0c97f0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@
"dayjs": "^1.10.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier --cache --write --ignore-unknown --list-different"
]
"*.{ts,tsx}": "eslint --cache --fix --max-warnings 0",
"*.{css,scss,ts,tsx}": "prettier --write --list-different"
},
"packageManager": "[email protected]"
}
3 changes: 1 addition & 2 deletions prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module.exports = {
singleQuote: true,
trailingComma: 'all',
bracketSpacing: true,
parser: 'typescript',
semi: true,
jsxBracketSameLine: true,
bracketSameLine: true,
};

0 comments on commit 0c97f0a

Please sign in to comment.