1.0.16 • Published 1 month ago

eslint-plugin-haraka v1.0.16

Weekly downloads
275
License
MIT
Repository
github
Last release
1 month ago

haraka-eslint

Build Status Code Climate

NPM

Install

In your Haraka plugin:

  1. Add to NPM dependencies: npm install --save-dev eslint eslint-plugin-haraka

  2. Install an eslint config file:

tee .eslintrc.yaml <<EOLINT
plugins: [ haraka ]
extends: [ eslint:recommended, plugin:haraka/recommended ]
EOLINT
  1. Add within the "scripts" section of package.json:
"lint": "npx eslint *.js test"
"lintfix": "npx eslint --fix *.js test"
  1. Within your CI workflow:

npm run lint

Usage

To check your project against lint rules:

npm run lint

Step #4 above does this automatically when CI tests are set up.

If you agree with the lint suggestions, you can run npm run lintfix and the changes will be made to your files automatically.

If you disagree, you can add custom rules to your .eslintrc file.

1.0.16

1 month ago

1.0.15

2 years ago

1.0.14

3 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago