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
- Host: GitHub
- URL: https://github.com/erbridge/js-style
- Owner: erbridge
- Created: 2015-08-14T15:40:29.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2020-06-14T17:27:08.000Z (about 6 years ago)
- Last Synced: 2025-04-04T10:59:09.263Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"
}
```