standard-engine
Advanced tools
Comparing version 10.0.0 to 11.0.0
@@ -104,3 +104,3 @@ module.exports.cli = require('./bin/cmd') | ||
if (typeof files === 'string') files = [ files ] | ||
if (typeof files === 'string') files = [files] | ||
if (files.length === 0) files = DEFAULT_PATTERNS | ||
@@ -142,2 +142,3 @@ | ||
if (!opts.cwd) opts.cwd = self.cwd | ||
opts.eslintConfig.cwd = opts.cwd | ||
@@ -144,0 +145,0 @@ // If no usePackageJson option is given, default to `true` |
{ | ||
"name": "standard-engine", | ||
"description": "Wrap your standards in a tortilla and cover it in special sauce.", | ||
"version": "10.0.0", | ||
"version": "11.0.0", | ||
"author": "Dan Flettre <flettre@gmail.com> (http://twitter.com/flettre/)", | ||
@@ -11,8 +11,8 @@ "bugs": { | ||
"deglob": "^3.0.0", | ||
"get-stdin": "^6.0.0", | ||
"get-stdin": "^7.0.0", | ||
"minimist": "^1.1.0", | ||
"pkg-conf": "^2.0.0" | ||
"pkg-conf": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^9.0.0", | ||
"babel-eslint": "^10.0.2", | ||
"cross-spawn": "^6.0.3", | ||
@@ -19,0 +19,0 @@ "eslint": "*", |
@@ -85,2 +85,23 @@ # standard-engine [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] | ||
Integrations and plugins should recoginize the `standard-engine` tag in a | ||
`package.json` file. This allows end users to specify an arbitrary `standard-engine` | ||
compatible linter that the plugin should use. The `standard-engine` tag can be a | ||
string of the package: | ||
```json | ||
{ | ||
"standard-engine": "semistandard" | ||
} | ||
``` | ||
or an object with a `name` value of the package: | ||
```json | ||
{ | ||
"standard-engine": { | ||
"name": "semistandard" | ||
} | ||
} | ||
``` | ||
### Atom | ||
@@ -87,0 +108,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33684
321
396
+ Addedfind-up@3.0.0(transitive)
+ Addedget-stdin@7.0.0(transitive)
+ Addedload-json-file@5.3.0(transitive)
+ Addedlocate-path@3.0.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@3.0.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedpify@4.0.1(transitive)
+ Addedpkg-conf@3.1.0(transitive)
+ Addedtype-fest@0.3.1(transitive)
- Removedfind-up@2.1.0(transitive)
- Removedget-stdin@6.0.0(transitive)
- Removedload-json-file@4.0.0(transitive)
- Removedlocate-path@2.0.0(transitive)
- Removedp-limit@1.3.0(transitive)
- Removedp-locate@2.0.0(transitive)
- Removedp-try@1.0.0(transitive)
- Removedpify@3.0.0(transitive)
- Removedpkg-conf@2.1.0(transitive)
Updatedget-stdin@^7.0.0
Updatedpkg-conf@^3.1.0