1.0.0 • Published 7 years ago
eslint-config-terreon v1.0.0
ESLint Config Terreon
An ESLint Shareable Config for JavaScript Standard Style with some changes:
- 4 spaces – for indentation
- No space after function name –
function name(arg) { ... }
- No spaces required inside comments –
//console.log('foo')
Installation
npm install eslint-config-standard
Usage
Shareable configs are designed to work with the extends
feature of .eslintrc
files.
You can learn more about
Shareable Configs on the
official ESLint website.
To use the JavaScript Standard Style shareable config, first run this:
npm install --save-dev eslint-config-terreon
Then, add this to your .eslintrc file:
{
"extends": "terreon"
}
Note: We omitted 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
file.
License
Apache 2.0
1.0.0
7 years ago