eslint-config-carpages
v8.1.1
Published
A shareable Eslint config for use by Carpages.ca developers.
Downloads
983
Readme
Carpages Eslint Base Configuration
Installation
NPM
npm install --save-dev eslint eslint-config-carpages
Yarn
yarn add --dev eslint eslint-config-carpages
Usage
.eslintrc.js
- If you prefer JS
module.exports = {
// ...
extends: ['carpages']
// ...
}
OR
.eslintrc.json
- If you prefer JSON
{
"extends": ["carpages"]
}
OR
.eslintrc
- If you prefer JSON without extension
{
"extends": ["carpages"]
}
A base config for React development is also included
module.exports = {
// ...
extends: ['carpages/react']
// ...
}