mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
* Runs a lint rule on tests only that errors if it sees `fdescribe` or `fit` calls. * Changes `file:` to `link:` for our custom, internal rules (just to simplify updating these in the future). * Updates `eslint` from 3.10 -> 4.1 and `babel-eslint` from 7.1 -> 8.0 so that we can run this new rule only against tests. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| index.js | ||
| no-primitive-constructors.js | ||
| package.json | ||
| README.md | ||
| warning-and-invariant-args.js | ||
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.