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",
],
};
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"
}
}