Skip to content

Commit

Permalink
fix(React): Fix require and extend of eslint-plugin-jsx-a11y (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
okonet authored Aug 18, 2018
1 parent 1b73b8b commit 7f7ad85
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions react.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ module.exports = {
},
extends: [
'./index.js',
'jsx-a11y',
'plugin:react/recommended',
'eslint-plugin-react/recommended',
'eslint-plugin-jsx-a11y/recommended',
'eslint-config-prettier/react'
].map(require.resolve),
plugins: ['eslint-plugin-jsx-a11y'].map(require.resolve),
rules: {
// React
'react/jsx-filename-extension': 0,
Expand Down

0 comments on commit 7f7ad85

Please sign in to comment.