1 | // @flow
|
2 | // see https://github.com/sindresorhus/eslint-plugin-unicorn
|
3 |
|
4 | module.exports = {
|
5 | plugins: ['unicorn'],
|
6 | extends: 'plugin:unicorn/recommended',
|
7 | rules: {
|
8 | // react環境等で変えたい
|
9 | 'unicorn/filename-case': 0,
|
10 | // 多く場合flowtypeを使うので無効
|
11 | 'unicorn/no-fn-reference-in-iterator': 0,
|
12 | },
|
13 | }
|