Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
concordant
Software
c-sudoku
Commits
3cf4d0c7
Commit
3cf4d0c7
authored
Apr 20, 2021
by
Yannick Li
Browse files
Enable Prettier pre-commit on tsx files
parent
ee7eece0
Changes
2
Show whitespace changes
Inline
Side-by-side
collaborative/package.json
View file @
3cf4d0c7
...
...
@@ -58,6 +58,6 @@
},
"lint-staged"
:
{
"*.{js,ts,tsx}"
:
"eslint --cache --fix"
,
"*.{js,ts,css,md,json,yml}"
:
"prettier --write"
"*.{js,ts,
tsx,
css,md,json,yml}"
:
"prettier --write"
}
}
single-player/package.json
View file @
3cf4d0c7
...
...
@@ -56,6 +56,6 @@
},
"lint-staged"
:
{
"*.{js,ts,tsx}"
:
"eslint --cache --fix"
,
"*.{js,ts,css,md,json,yml}"
:
"prettier --write"
"*.{js,ts,
tsx,
css,md,json,yml}"
:
"prettier --write"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment