react/scripts/eslint-rules/index.js
Brian Vaughn ec67ee400c
Upgrade to ESLint 4.1 and add no-focused-tests rule (#11977)
* 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.
2018-01-09 10:55:51 -08:00

9 lines
201 B
JavaScript

'use strict';
module.exports = {
rules: {
'no-primitive-constructors': require('./no-primitive-constructors'),
'warning-and-invariant-args': require('./warning-and-invariant-args'),
},
};