2.4.1 • Published 4 months ago

@grafarg/eslint-config v2.4.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

grafarg-eslint-config

Grafarg's ESLint config.

Installation

yarn add @grafarg/eslint-config --dev

or:

npm install @grafarg/eslint-config --save-dev

Don't forget to install peerDependencies.

  1. Install the correct versions of each package, which are listed by the command:
npm info "@grafarg/eslint-config@latest" peerDependencies

If using npm 5+, use this shortcut

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

If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly. Otherwise, run npm info "@grafarg/eslint-config@latest" peerDependencies to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version> for each listed peer dependency.

Usage

{
  "extends": ["@grafarg/eslint-config"]
}

It will automatically handle *.(js|ts|tsx) files.

Publishing

npm publish

Also be sure to update any official packages that depend on this with fixes and version increases.

Versioning

It's probable that any change will be a breaking one, so it's best to stick to major version releases.