@hellpack/eslint-config-hellpack

2.2.2-alpha.0 • Public • Published

@hellpack/eslint

Latest Prettier and Eslint config for your projects

Ultracommon eslint config used in my projects, no need to install eslint, prettier or babel-eslint.

Usage

  • Install @hellpack/eslint yarn add @hellpack/eslint-config-hellpack -D.
  • Create a .eslintrc.js file and add this
module.exports = {
  extends: ['@hellpack/hellpack'],
  // Custom config here
};
  • For example,
module.exports = {
  extends: ['@hellpack/hellpack'],
  rules: {
    quotes: ['error', 'single'],
    'prefer-template': 0,
    'no-console': 2,
  },
  globals: {
    fetch: true,
  },
};

Uses

  • babel-eslint
  • eslint
  • eslint-config-airbnb
  • eslint-config-prettier
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-prettier
  • eslint-plugin-react

Package Sidebar

Install

npm i @hellpack/eslint-config-hellpack

Weekly Downloads

3

Version

2.2.2-alpha.0

License

MIT

Unpacked Size

2.54 kB

Total Files

4

Last publish

Collaborators

  • rajatsharma