npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@hellpack/eslint-config-hellpack

2.2.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

install

npm i @hellpack/eslint-config-hellpack

Downloadsweekly downloads

7

version

2.2.0

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability