Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

renault-digital/lint-config

Repository files navigation

Renault Digital ESLint config

Travis (.org) npm

Installation

npm install --save-dev @renault-digital/lint-config

# or

yarn add --dev @renault-digital/lint-config

Then, configure ESLint with one or more .eslintrc.json files as appropriate.

Example configurations

Bellow are some recommended uses:

A typical Server project with NodeJS and Mocha tests

.eslintrc.json:

{
  "extends": "@renault-digital/lint-config/server"
}

Lint your Gherkin features

package.json :

{
    "test:lint:gherkin" : "gherkin-lint -c node_modules/@renault-digital/lint-config/gherkin.json"
}

Lint your Markdown

package.json :

{
    "test:lint:md" : "markdownlint *.md --config node_modules/@renault-digital/lint-config/markdownlint.json"
}

Proposing changes

Major changes should be discussed GitHub.

Semver policy

Same approach as in ESLint, see Semantic Versioning Policy.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published