An open API service indexing awesome lists of open source software.

https://github.com/erbridge/js-style

A collection of default settings for JavaScript style checkers and linters
https://github.com/erbridge/js-style

Last synced: 6 months ago
JSON representation

A collection of default settings for JavaScript style checkers and linters

Awesome Lists containing this project

README

          

# js-style

> A collection of default settings for JavaScript style checkers and linters

## Install

```
$ npm install --save-dev erbridge/js-style
```

## Setup

### JSHint

Create a `.jshintrc` file in the project root containing, for example:

```json
{
"extends": "node_modules/js-style/jshint-node.json"
}
```

### JSCS

Create a `.jscsrc` file in the project root containing, for example:

```json
{
"preset": "node_modules/js-style/jscsrc.json"
}
```