Skip to content

Commit

Permalink
Remove override rules for ESLint (#205)
Browse files Browse the repository at this point in the history
ESLintの設定はAirbnbのものを使っているが、一部のルールを上書きしている。
これはwebpackの設定ファイルから開発用の依存パッケージを使用した際に警告が出てしまうためであった。

しかし airbnb/javascript@ec08ca8 で
webpackの設定ファイルが例外として扱われるようになっている。
そのためこちらの側でルールの上書きをする必要はなくなった。

なので煩雑さをなくすために、自前で上書きしているルールは削除する。
  • Loading branch information
ykzts committed Feb 25, 2017
1 parent aa627e4 commit aaaff33
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .eslintrc.json
Expand Up @@ -4,10 +4,5 @@
},
"extends": "airbnb",
"parser": "babel-eslint",
"root": true,
"rules": {
"import/no-extraneous-dependencies": ["error", {
"devDependencies": ["**/webpack.config.js"]
}]
}
"root": true
}

0 comments on commit aaaff33

Please sign in to comment.