eslint-config-backpacker-react
v0.9.0
Published
Backpacker's eslint config for React
Downloads
422
Maintainers
Readme
eslint-config-backpacker-react
Extends eslint-config-airbnb and a few others.
To install, run
yarn add --dev eslint-config-backpacker-react
Then extend it inside your .eslintrc.js
file
module.exports = {
...
extends: [
"backpacker-react",
],
};
Import sort plugin
To automatically sort imports with prettier, use prettier-plugin-import-sort with import-sort-style-module. Then add the following configuration in package.json
:
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module"
}
}