2.1.3 • Published 3 years ago
@rtlnl/eslint-config-rtlnl-base v2.1.3
eslint-config-rtlnl-base
https://www.npmjs.com/package/@rtlnl/eslint-config-rtlnl-base
Introduction
This is the base ESLint configuration file used at rtlnederland.
It is based on Airbnb's base config and Prettier.
Installation
NPM
npm install --save-dev eslint@latest @rtlnl/eslint-config-rtlnl-base prettier
Yarn
yarn add --exact --dev eslint@latest @rtlnl/eslint-config-rtlnl-base prettier
Your .eslintrc
To add the rules to your .eslintrc
, extend the file with the package in the following manner:
{
"extends": ["@rtlnl/rtlnl-base"]
}
Example:
.eslintrc.js
{
"extends": [
"@rtlnl/rtlnl-base"
],
"env": {
"node": true,
"jest": true
}
}
.prettierrc.js
module.exports = {
...require('@rtlnl/eslint-config-rtlnl-base/.prettierrc.js'),
...customParams
};
2.1.3
3 years ago
2.1.2
4 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.0-unstable2
4 years ago
2.0.0
4 years ago
2.0.0-unstable1
4 years ago
0.0.0-semantically-released.0
4 years ago
1.0.4
4 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago