Licence
MIT
Version
0.9.0
Deps
10
Size
6 kB
Vulns
0
Weekly
0
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"
}
}