eslint-plugin-detect-haiku

1.0.3 • Public • Published

eslint-plugin-detect-haiku

俳句を禁止するプラグイン

これは クソアプリ Advent Calendar 2019の 19 日目の記事である、ビルド時に俳句を読めるプラグイン のために開発されたものです。

導入

eslint とプラグインの導入

$ yarn add -D eslint eslint-plugin-detect-haiku

設定ファイル(eslintrc など)を編集

module.exports = {
  // 中略
  plugins: ["detect-haiku"],
  rules: {
    "detect-haiku/forbid_haiku": 2
  }
};

開発

モジュールインストール

$ yarn install

実行

$ yarn run start

公開前にドライラン

$ tar -tf $(npm pack)

npm に公開

$ npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-detect-haiku

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

1.75 kB

Total Files

5

Last publish

Collaborators

  • sadness.ojisan