Skip to content

Commit 813c6f3

Browse files
committed
Install prettier
1 parent 73baa92 commit 813c6f3

5 files changed

Lines changed: 45 additions & 1 deletion

File tree

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module.exports = {
22
'extends': [
33
'next/core-web-vitals',
4-
'next/typescript'
4+
'next/typescript',
5+
'prettier',
56
],
67
};

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore artifacts:
2+
build
3+
coverage

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"jsxSingleQuote": true
4+
}

package-lock.json

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@
4848
"babel-tape-runner": "^3.0.0",
4949
"eslint": "^8.57.1",
5050
"eslint-config-next": "^15.3.4",
51+
"eslint-config-prettier": "^10.1.5",
5152
"fancy-log": "^2.0.0",
5253
"faucet": "0.0.4",
5354
"npm-watch": "^0.13.0",
5455
"plugin-error": "^2.0.1",
56+
"prettier": "3.6.2",
5557
"rewire": "^8.0.0",
5658
"sass": "^1.89.2",
5759
"sinon": "^21.0.0",

0 commit comments

Comments
 (0)