Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Switches to react as the alternative to default config. - Remove import plugin and all associated dependencies and rules as it became too complicated to maintain and work consitently in various contexts, such as in a docker container.
- Loading branch information
Jamie Hoover
committed
Oct 31, 2016
1 parent
66cf28c
commit 8496bc6
Showing
6 changed files
with
50 additions
and
1,411 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
const rules = require('./rules/core'); | ||
const rulesAccessibility = require('./rules/accessibility'); | ||
const rulesReact = require('./rules/react'); | ||
|
||
Object.assign(rules, rulesAccessibility, rulesReact); | ||
|
||
module.exports = { | ||
env: { | ||
es6: true, | ||
node: true, | ||
}, | ||
parserOptions: { | ||
ecmaFeatures: {jsx: true}, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['jsx-a11y', 'react'], | ||
parserOptions: {sourceType: 'module'}, | ||
rules, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const rulesAccessibility = require('./rules/accessibility'); | ||
const rulesReact = require('./rules/react'); | ||
|
||
const rules = Object.assign({}, rulesAccessibility, rulesReact); | ||
|
||
module.exports = { | ||
env: {browser: true}, | ||
extends: './index.js', | ||
parserOptions: {ecmaFeatures: {jsx: true}}, | ||
plugins: ['jsx-a11y', 'react'], | ||
rules, | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.