0.0.6 • Published 8 years ago

eslint-config-singpath v0.0.6

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

SingPath Linting Configuration

Eslint | Configuring | Rules

Contains the default ESLint configuration for SingPath projects.

Installation

You can install ESLint using npm:

npm install eslint@3 --save-dev

Then install this configuration:

npm install eslint-config-singpath --save-dev

Usage

Add a .eslintrc.yml file (for node 4+ project):

extends: eslint-config-singpath/node

or for a ES6 module based project:

extends: eslint-config-singpath/module

Then create a "lint" command; e.g., to lint src/ and test/ js files, add to package.json (only showing the script field):

{
  "scripts": {
    "lint": "eslint src/ tests/"
  }
}

To lint the folders:

npm run lint

To attempt to fix them:

npm run lint -- --fix
0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago