mavenlink / mavenlint

Mavenlink RuboCop and ESLint configuration
0 stars 0 forks source link

Deprecated `react/require-extension` #3

Closed juanca closed 6 years ago

juanca commented 7 years ago

See more @ https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/require-extension.md

juanca commented 7 years ago

Also, why I came across this:

/Users/mavenlink/workspace/mavenlink-ui/karma.config.js
  3:30  error  Unable to require module with extension '.js'  react/require-extension

Where line 3 is:

const webpackConfiguration = require('./webpack.config.js');
juanca commented 7 years ago

Perhaps it is fixed in latest airbnb-lint? I'm not sure how to go about updating that reference.

ahuth commented 7 years ago

Looks like we're on an old airbnb-config. I'll update it and see what happens.

Thanks @juanca

ahuth commented 6 years ago

@juanca, think this thing is still an issue? Might be resolved now.

juanca commented 6 years ago

Should be fixed if we are using mavenlint. I had to avoid using it back in the day.