rcs / jsxhint-loader

JSXHint Loader for Webpack -- Use JSX and jshint in a loving embrace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is this project abandoned?

unindented opened this issue · comments

No updates for 5 months... @rcs please merge pending pull requests.

Yes. Seems fairly abandoned unfortunately.

I just updated the project to be compatible with react 0.12.
For the time being you can reference it like this from your package.json

"jsxhint-loader": "git://github.com/danielberndt/jsxhint-loader.git#d3f8990e82aa37a64eb33af3bbad633a6fb46813"

and use it like this in your webpack.config.js

module: {
    ...
    preLoaders: [
      {test: /\.jsx?/, exclude: __dirname + '/node_modules',loader: 'jsxhint-loader?insertPragma=React.DOM'}
    ],
    loaders: [
      {test: /\.jsx?$/, loader: 'jsx-loader?harmony&insertPragma=React.DOM'}
    ]
}

Alternatively you could just do:

{test: /\.jsx?$/, exclude: __dirname + '/node_modules',loader: 'jshint-loader!jsx-loader?insertPragma=React.DOM'}

Unfortunately it was, unintentionally, as it still matters to me.

I've merged outstanding pull requests, bumped version to 0.2.0, and pushed to NPM.

I believe I've got notifications for github sorted out now so this situation shouldn't happen again.