react/scripts/eslint-rules
Jack Hou e8e62ebb59 use different eslint config for es6 and es5 (#11794)
* use different eslint config for es6 and es5

* remove confusing eslint/baseConfig.js & add more eslint setting for es5, es6

* more clear way to run eslint on es5 & es6 file

* seperate ESNext, ES6, ES6 path, and use different lint config

* rename eslint config file & update eslint rules

* Undo yarn.lock changes

* Rename a file

* Remove unnecessary exceptions

* Refactor a little bit

* Refactor and tweak the logic

* Minor issues
2017-12-11 15:52:46 +00:00
..
__tests__ use different eslint config for es6 and es5 (#11794) 2017-12-11 15:52:46 +00:00
index.js Simplify Jest config a little bit (#11242) 2017-10-16 23:17:00 +01:00
no-primitive-constructors.js Update prettier to 1.8.1 (#10785) 2017-11-07 18:09:33 +00:00
package.json Simplify Jest config a little bit (#11242) 2017-10-16 23:17:00 +01:00
README.md Simplify Jest config a little bit (#11242) 2017-10-16 23:17:00 +01:00
warning-and-invariant-args.js use different eslint config for es6 and es5 (#11794) 2017-12-11 15:52:46 +00:00

Custom ESLint Rules

This is a dummy npm package that allows us to treat it as an eslint-plugin. It's not actually published, nor are the rules here useful for users of React. If you want to lint your React code, try https://github.com/yannickcr/eslint-plugin-react.

If you modify this rule, you must re-run npm install ./eslint-rules for it to take effect.