1.2.1 • Published 8 months ago

@code-atlantic/eslint-plugin v1.2.1

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
8 months ago

@code-atlantic/eslint-plugin

Code Atlantic's ESLint plugin, following our styleguide.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @code-atlantic/eslint-plugin:

npm install @code-atlantic/eslint-plugin --save-dev

Usage

This plugin exports a recommended config that enforces best practices.

Create your own .eslintrc.js configuration file:

{
	"extends": "plugin:@code-atlantic/recommended",
	"plugins": [
		"@code-atlantic"
	]
}

Or see the ESLint docs for more information about configuration file formats.

You can also stack any of the extra shared configs on top of the "base" config by extending an array of linting configs. For example, this package provides a React linting config, which can be added to the base config with the following configuration file:

{
	"extends": [
		"plugin:@code-atlantic/recommended",
		"plugin:@wordpress/react"
	]
}

Available rulesets

The following rulesets are available:

  • recommended: Enforces best practices and possible errors
1.2.0

8 months ago

1.2.1

8 months ago

1.1.0

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.17

2 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago