ahmad-reza619 / eslint-config-hungryDev

hungry dev custom config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-hungryDev

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

How to install

npm i -D eslint eslint-config-hungrydev eslint-plugin-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks

Usage

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

About

hungry dev custom config