1.0.1 • Published 7 years ago
eslint-config-pidev v1.0.1
Shareable ESLint Config for PI-Webdesign
Shareable eslint config for the PI-Webdesign projects.
Install
First install all needed dependencies:
yarn add babel-eslint eslint eslint-plugin-ava eslint-plugin-jsdoc --dev
Then install the shareable config itself:
yarn add eslint-config-pidev --dev
Usage
The eslint shareable configs can be used with the extends
feature of .eslintrc
files.
Learn more about shareable configs on the official ESLint website.
To use the shareable config, first install it and then, add this to your .eslintrc.yml file:
extends: pidev
parser: babel-eslint
plugins:
- ava
- jsdoc
Note: You can omit the eslint-config-
prefix since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your
.eslintrc.yml
file.
Learn more
For the full listing of rules visit the wiki.
License
MIT. Copyright © Pascal Iske.