Notoriously Psychedelic Modules

npm

Need private packages and team management tools?Check out npm Orgs. »

@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

35

version

2.2.0

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability