0.1.0 • Published 6 years ago
eslint-plugin-ja v0.1.0
eslint-plugin-ja
ESLint のエラーメッセージを日本語化する非公式の実験的なプラグインです。
今のところモンキーパッチを使っています。
⤴️ 目的
ESLint のエラーメッセージを日本語化して、より広く使ってもらえるようにします。
💿 インストール
npm でインストールして .eslintrc.*
ファイルにこのプラグインを利用する事を記述します。
npm install --save-dev eslint eslint-plugin-ja
{
"plugins": ["ja"]
// 他はいつも通り。
}
要件
📖 使い方
特になし。
普通に ESLint を利用して下さい。
⚠️ 既知の制限
現在日本語化されているルールは、eslint/eslint#9648 で更新された65
個だけです。
accessor-pairs
array-bracket-newline
array-bracket-spacing
array-callback-return
array-element-newline
arrow-body-style
arrow-parens
arrow-spacing
block-scoped-var
brace-style
callback-return
camelcase
capitalized-comments
class-methods-use-this
comma-dangle
comma-style
complexity
computed-property-spacing
consistent-return
consistent-this
constructor-super
curly
default-case
dot-location
dot-notation
eol-last
eqeqeq
no-alert
no-array-constructor
no-await-in-loop
no-bitwise
no-buffer-constructor
no-caller
no-case-declarations
no-catch-shadow
no-class-assign
no-compare-neg-zero
no-cond-assign
no-confusing-arrow
no-console
no-const-assign
no-constant-condition
no-continue
no-control-regex
no-debugger
no-delete-var
no-div-regex
no-dupe-args
no-dupe-class-members
no-dupe-keys
no-duplicate-case
no-else-return
no-empty-character-class
no-empty-function
no-empty-pattern
no-empty
no-eq-null
no-eval
no-ex-assign
no-extend-native
no-extra-bind
no-extra-boolean-cast
no-extra-label
no-extra-parens
no-extra-semi
📰 変更履歴
🍻 貢献
- ご意見・ご感想は Issues までお願いします。
0.1.0
6 years ago