https://github.com/hiroxto/eslint-config
ESLintのShareable Config
https://github.com/hiroxto/eslint-config
Last synced: 3 months ago
JSON representation
ESLintのShareable Config
- Host: GitHub
- URL: https://github.com/hiroxto/eslint-config
- Owner: hiroxto
- License: mit
- Created: 2021-07-08T13:44:03.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T13:51:43.000Z (over 4 years ago)
- Last Synced: 2025-01-25T23:51:46.622Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 18.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/eslint-config
[](https://badge.fury.io/js/@hiroxto%2Feslint-config)

ESLintのShareable Config
## 使い方
eslintと@hiroxto/eslint-configをインストール。
```shell
$ yarn add -D eslint @hiroxto/eslint-config
```
`.eslintrc.js`を以下のように設定。
```javascript
module.exports = {
root: true,
extends: ['@hiroxto'],
rules: {
// プロジェクト固有のルールがあるならここに書く
},
};
```
他の設定ファイルを読み込む場合は更に追加する。
```javascript
module.exports = {
root: true,
extends: ['@hiroxto', '@hiroxto/eslint-config/vue'],
rules: {
// プロジェクト固有のルールがあるならここに書く
},
};
```
## LICENSE
MIT