Closed kychanbi closed 4 years ago
@kychanbi Hi! Sorry for the delayed reply.
The @neutrinojs/airbnb
preset includes @neutrinojs/eslint
, so @neutrinojs/eslint
does not need to be added in addition to it.
To configure @neutrinojs/airbnb
pass any options to airbnb()
directly.
For example:
//neutrinorc.js
//...
module.exports = {
//...
use: [
airbnb({
eslint: {
// Use own `.eslintrc.*` file for configuration instead.
useEslintrc: true,
},
}),
reactComponents(),
jest(),
],
};
See: https://neutrinojs.org/packages/airbnb/#middleware-options
If there's any way we can make the docs clearer, please do say :-)
following the doc on https://neutrinojs.org/packages/eslint/ configured to use my own .eslintrc.js still getting weeie