Skip to content

Commit

Permalink
Disable array-func/prefer-array-from
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjbradshaw committed Apr 29, 2020
1 parent ff3e37d commit b61f976
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ The following rules are disabled due to them being considered unduely restrictiv
- jest/no-disabled-tests
- react-redux/prefer-separate-component-file
- redux-saga/no-unhandled-errors
- lodash/prefer over native rules
- lodash-fp/use-fp

The following rules are disabled due to clashing with other plugins

- array-func/prefer-array-from
- import/order
- sort-imports

## License

Expand Down
3 changes: 3 additions & 0 deletions rules/array-func.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ module.exports = {
plugins: ['array-func'],
extends: ['plugin:array-func/recommended'],
rules: {
// Rule disabled due to clash with Unicorn
'array-func/prefer-array-from': 'off',

// Rules not in recommended config
'array-func/prefer-flat': 0,
'array-func/prefer-flat-map': 0,
Expand Down

0 comments on commit b61f976

Please sign in to comment.