2.0.0 • Published 5 years ago

eslint-config-shreyasminocha v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

eslint-config

Build status Latest version Code style

An eslint configuration tailored to my preferences. Extends airbnb-base.

Installation

The following assumes you have npm installed.

Local installation

npm install --save-dev eslint-config-shreyasminocha

# Peer dependencies
npm install --save-dev eslint eslint-config-airbnb-base eslint-plugin-ava eslint-plugin-compat eslint-plugin-node eslint-plugin-security eslint-plugin-unicorn

Add the following (or equivalent) to your .eslintrc.yml (or equivalent):

Base

extends: shreyasminocha

Node.js

extends: shreyasminocha/node

Node.js + AVA

extends:
    - shreyasminocha/node
    - shreyasminocha/ava

Browser

extends: shreyasminocha/browser

Global installation

Replace --save-dev with --global in the steps for local installation and edit the global eslintrc (usually in ~).

Usage

See 'Command Line Interface' and 'Integrations' in eslint's docs.

License

Licensed under the MIT License.