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