1.0.1 • Published 3 years ago

@propelinc/eslint-config v1.0.1

Weekly downloads
1
License
-
Repository
github
Last release
3 years ago

@propelinc/eslint-config

npm version

This package contains Propel's shared ESLint config. These rules are specifically for projects built on Vue CLI.

Setup

Prerequisites

We currently only support ESLint 6.

npm install eslint@6.8.0 prettier --save-dev

Install

You'll need to install a set of ESLint plugins along with this library. Use this shortcut to install the library and its required peer dependencies.

npx install-peerdeps --dev @propelinc/eslint-config

Update your .eslintrc

Change your eslint configuration to extend from the @propelinc config.

module.exports = {
  extends: ['@propelinc'],
  rules: {
    // Override any rules here
  },
};