Commit Graph

10 Commits

Author SHA1 Message Date
Benjamin Woodruff 95edacc994 Remove /*eslint-disable comma-dangle*/ comments
Commit 9d3f7f30ba3ba55cbfd98b26fdd2cc7289716650 reverses the rule, so
these comments aren't needed anymore.
2015-06-02 16:57:43 -07:00
Benjamin Woodruff 58fb322e21 Use babel-eslint and update eslint
-   Removes esprima-fb dependency
-   Tightens up eslintrc with some minor rules we were pretty-much
    following anyways.
-   Adds pretty colors to the `grunt lint` output
-   Breaks block-scoped-var :(
2015-05-28 09:42:55 -07:00
cpojer 245f0d0afa Add copyright headers to npm-react-codemod. 2015-04-08 10:28:20 -07:00
cpojer bc8b057bf0 npm-react-codemod: Class transform doesn’t need an alias for module.exports = React.createClass any longer.
Before: `module.exports = class __exports extends React.Component {}`
After: `module.exports = class extends React.Component {}`

See https://github.com/benjamn/ast-types/commit/638ef2b9d2f43938f64677c1109188092393b644
2015-03-25 16:31:23 -07:00
cpojer 1865c042d7 Update README for npm-react-codemod 2015-03-25 16:15:07 -07:00
cpojer d9c13c73b6 Add ES6 class transform 2015-03-25 16:11:52 -07:00
cpojer d4cb2537af Add pure-render-mixin transform 2015-03-25 16:11:52 -07:00
cpojer 20004e94d3 Add findDOMNode transform 2015-03-25 16:11:52 -07:00
cpojer 328274bbba Add ReactUtils and array polyfills. 2015-03-25 16:11:52 -07:00
cpojer e361fcb3e6 Add skeleton for react-codemod 2015-03-25 16:11:48 -07:00