Comparing version 3.0.0 to 3.1.0
@@ -37,3 +37,3 @@ { | ||
}, | ||
"version": "3.0.0" | ||
"version": "3.1.0" | ||
} |
@@ -6,13 +6,8 @@ # Eastwood | ||
Eastwood aims to provide simple setup of ESLint and editor configurations. | ||
3.0.0 correctly installs packages as devDependencies. | ||
3.0.0+ correctly installs packages as devDependencies. | ||
## Installation | ||
## Installation & Use | ||
```bash | ||
npm install -g eastwood | ||
``` | ||
## Use | ||
```bash | ||
eastwood airbnb | ||
@@ -26,2 +21,4 @@ ``` | ||
* `google` - The [Google Style Guide](https://google.github.io/styleguide/jsguide.html) as provided by [eslint-config-google](https://www.npmjs.com/package/eslint-config-google). | ||
* `standard` - The [Standard Style Guide](https://github.com/standard/standard) using the [standard](https://www.npmjs.com/package/standard) package. | ||
* `standard-eslint` - The [Standard Style Guide](https://github.com/standard/standard) as provided by [eslint-config-standard](https://www.npmjs.com/package/eslint-config-standard). | ||
@@ -33,3 +30,3 @@ If no ruleset is provided, `airbnb` is used as default. | ||
* Updating `.eslintrc` rather than just an initial write. | ||
* Updating ``.editorconfig` rather than just an initial write. | ||
* Updating `.editorconfig` rather than just an initial write. | ||
@@ -36,0 +33,0 @@ And maybe: |
@@ -7,2 +7,3 @@ const cmd = require('node-cmd'); | ||
const formatGoogle = require('../formats/google'); | ||
const formatStandardEslint = require('../formats/standard-eslint'); | ||
@@ -36,4 +37,9 @@ const installPackages = (packageList = []) => new Promise((resolve, reject) => { | ||
}, | ||
standard() { | ||
return installPackages(['standard']); | ||
}, | ||
'standard-eslint': () => installPackages(formatStandardEslint.packages) | ||
.then(rcFile.chainEdit('.eslintrc', formatStandardEslint.eslintrc)), | ||
}; | ||
module.exports = configs; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8471
13
173
0
35