@renault-digital/lint-config
v0.0.2
Published
Lint config following Renault Digital coding style.
Downloads
4
Readme
Renault Digital ESLint config
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.