Last active
February 4, 2022 04:09
-
-
Save skydiver/cb26d42e9e3a0e52ddb7ddb2be79d26e to your computer and use it in GitHub Desktop.
Next.js + Prettier
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
extends: ['next/core-web-vitals', 'plugin:prettier/recommended' | |
], | |
rules: { | |
'prettier/prettier': ['error', {}, { usePrettierrc: true }] | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"semi": true, | |
"tabWidth": 2, | |
"printWidth": 100, | |
"singleQuote": true, | |
"trailingComma": "es5", | |
"bracketSameLine": false | |
} |
Author
skydiver
commented
Oct 31, 2021
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment