7.0.0 • Published 4 months ago

@grafana/eslint-config v7.0.0

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

grafana-eslint-config

Grafana's ESLint config.

Installation

yarn add @grafana/eslint-config --dev

or:

npm install @grafana/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 "@grafana/eslint-config@latest" peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev @grafana/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 "@grafana/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": ["@grafana/eslint-config"]
}

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

Publishing

Publishing is handled by github actions which is triggered by a merge to master that contains a change to the version property in the package.json file. You can either do that manually or use the command below to version bump, commit and tag.

npm version [<newversion> | major | minor | patch ]

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.

7.0.0

4 months ago

6.0.1

8 months ago

6.0.0

11 months ago

5.1.0

1 year ago

5.0.0

2 years ago

4.0.0

2 years ago

3.0.0

2 years ago

2.5.2

2 years ago

3.0.0-alpha

2 years ago

2.5.1

3 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.6

3 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0-rc1

4 years ago