2.0.2 • Published 12 months ago

@empathyco/eslint-plugin-x v2.0.2

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

ESLint Plugin X

The project name is just to follow the guidelines of ESLint to develop a custom plugin, but it includes also style formatter and good practices outside ESLint:

ESLint

Installation

To install the linter plugin:

# or pnpm or yarn
npm install @empathyco/eslint-plugin-x --save-dev

The plugin offers different levels of configuration depending on the plugins and rules we want to activate:

SeverityPlugins
standardESLint
TypeScript
Prettier
recommendedstandard plugins
JSDoc
TSDoc
Import
Jest
Cypress
allrecommended plugins
Vue

Usage

Add plugin:@empathyco/x to the extends section of your .eslintrc configuration file followed by the severity config that you want to activate standard, recommended or all. You can omit the eslint-plugin- prefix.

{ "extends": ["plugin:@empathyco/x/standard"] }

or

{ "extends": ["plugin:@empathyco/x/recommended"] }

or

{ "extends": ["plugin:@empathyco/x/all"] }

Prettier

The Prettier configuration is available in the prettier-config.js file. First, delete your custom prettier config file if you have. To use it is enough with reference it in you package.json:

"prettier": "@empathyco/eslint-plugin-x/prettier-config"
2.0.2

12 months ago

2.0.2-alpha.0

12 months ago

2.0.0

1 year ago

2.0.1-alpha.0

1 year ago

2.0.1-alpha.1

1 year ago

2.0.0-alpha.33

2 years ago

2.0.0-alpha.32

2 years ago

2.0.0-alpha.31

2 years ago

2.0.0-alpha.30

2 years ago

2.0.0-alpha.38

1 year ago

2.0.0-alpha.37

1 year ago

2.0.0-alpha.36

1 year ago

2.0.0-alpha.35

2 years ago

2.0.0-alpha.34

2 years ago

2.0.0-alpha.19

2 years ago

2.0.0-alpha.18

2 years ago

2.0.0-alpha.17

2 years ago

2.0.0-alpha.16

2 years ago

2.0.0-alpha.22

2 years ago

2.0.0-alpha.21

2 years ago

2.0.0-alpha.20

2 years ago

2.0.0-alpha.29

2 years ago

2.0.0-alpha.28

2 years ago

2.0.0-alpha.27

2 years ago

2.0.0-alpha.26

2 years ago

2.0.0-alpha.25

2 years ago

2.0.0-alpha.24

2 years ago

2.0.0-alpha.23

2 years ago

2.0.0-alpha.15

2 years ago

2.0.0-alpha.14

2 years ago

2.0.0-alpha.13

2 years ago

2.0.0-alpha.12

2 years ago

2.0.0-alpha.11

2 years ago

2.0.0-alpha.10

2 years ago

2.0.0-alpha.8

3 years ago

2.0.0-alpha.9

3 years ago

2.0.0-alpha.7

3 years ago

2.0.0-alpha.6

3 years ago

2.0.0-alpha.5

3 years ago

2.0.0-alpha.3

3 years ago

2.0.0-alpha.4

3 years ago

2.0.0-alpha.1

3 years ago

2.0.0-alpha.2

3 years ago

2.0.0-alpha.0

3 years ago

1.4.0-alpha.7

3 years ago

1.4.0-alpha.5

3 years ago

1.4.0-alpha.6

3 years ago

1.4.0-alpha.4

3 years ago

1.4.0-alpha.3

3 years ago

1.4.0-alpha.2

3 years ago

1.4.0-alpha.1

3 years ago

1.4.0-alpha.0

3 years ago

1.3.0

4 years ago

1.3.0-alpha.1

4 years ago