an eslint config for my own use case. You can use it too though 😄
Warning: Currently this eslint config only support React. i will update it when i have the time
npm i -D eslint eslint-config-hungrydev eslint-plugin-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
create an .eslintrc.js
and then write this:
module.exports = {
extends: ['hungrydev/react'],
rules: {
// ... add your own override here
// if you use react 17^, you can disable react/jsx-filename-extension rules
// "react/jsx-filename-extendsion": "off",
}
};