Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nexterias/prettier-config
Prettier configuration for NEXTERIAS
https://github.com/nexterias/prettier-config
Last synced: 6 days ago
JSON representation
Prettier configuration for NEXTERIAS
- Host: GitHub
- URL: https://github.com/nexterias/prettier-config
- Owner: nexterias
- License: wtfpl
- Created: 2023-01-27T16:29:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T02:55:21.000Z (about 1 month ago)
- Last Synced: 2024-12-12T18:18:44.764Z (23 days ago)
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prettier-config
Prettier configuration for NEXTERIAS
## Usage
### Use `prettier` field in `package.json`
```json
{
"name": "@nexterias/ultimate-package",
"prettier": "@nexterias/prettier-config"
}
```### Override configuration
```js
module.exports = {
...require('@nexterias/prettier-config'),
jsxSingleQuote: true,
}
```## Run Prettier
```sh
npx prettier -w .
```