mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
* prep for codemod * prep warnings * rename lint rules * codemod for ifs * shim www functions * Handle more cases in the transform * Thanks De Morgan * Run the codemod * Delete the transform * Fix up confusing conditions manually * Fix up www shims to match expected API * Also check for low-pri warning in the lint rule
12 lines
372 B
JavaScript
12 lines
372 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
rules: {
|
|
'no-primitive-constructors': require('./no-primitive-constructors'),
|
|
'no-to-warn-dev-within-to-throw': require('./no-to-warn-dev-within-to-throw'),
|
|
'warning-args': require('./warning-args'),
|
|
'invariant-args': require('./invariant-args'),
|
|
'no-production-logging': require('./no-production-logging'),
|
|
},
|
|
};
|