https://github.com/hiroxto/prettier-config
Prettierの設定
https://github.com/hiroxto/prettier-config
Last synced: 4 months ago
JSON representation
Prettierの設定
- Host: GitHub
- URL: https://github.com/hiroxto/prettier-config
- Owner: hiroxto
- License: mit
- Created: 2021-09-15T16:15:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-18T13:02:55.000Z (almost 4 years ago)
- Last Synced: 2025-02-27T06:56:25.429Z (5 months ago)
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @hiroxto/prettier-config
[](https://badge.fury.io/js/@hiroxto%2Fprettier-config)
Prettierの設定
## 使い方
prettierと@hiroxto/prettier-configをインストール。
```shell
$ yarn add -D prettier @hiroxto/prettier-config
````package.json`に`prettier`フィールドを作成し,`@hiroxto/prettier-config`を指定する。
```json
{
"name": "my-project",
"devDependencies": {
"prettier": "latest"
},
"prettier": "@hiroxto/prettier-config"
}
```設定を上書きしたい時は`package.json`では指定せずに,`.prettierrc.js`で指定して上書きする。
```javascript
module.exports = {
...require('@hiroxto/prettier-config'),
semi: false,
};
```## LICENSE
MIT