@hiroxto/eslint-config

1.0.1 • Public • Published

@hiroxto/eslint-config

npm version GitHub Actions test workflow

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    0

Package Sidebar

Install

npm i @hiroxto/eslint-config

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

6.96 kB

Total Files

13

Last publish

Collaborators

  • hiroxto