Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

standard-engine

Package Overview
Dependencies
Maintainers
8
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

standard-engine - npm Package Compare versions

Comparing version 12.0.0 to 12.0.1

2

index.js

@@ -46,3 +46,3 @@ module.exports.cli = require('./bin/cmd')

cache: true,
cacheLocation: cacheLocation,
cacheLocation,
envs: [],

@@ -49,0 +49,0 @@ fix: false,

{
"name": "standard-engine",
"version": "12.0.1",
"description": "Wrap your standards in a tortilla and cover it in special sauce.",
"version": "12.0.0",
"author": "Dan Flettre <flettre@gmail.com> (http://twitter.com/flettre/)",
"bugs": {
"url": "https://github.com/flet/standard-engine/issues"
},
"dependencies": {
"deglob": "^4.0.0",
"get-stdin": "^7.0.0",
"minimist": "^1.1.0",
"pkg-conf": "^3.1.0"
},
"devDependencies": {
"babel-eslint": "^10.0.2",
"cross-spawn": "^6.0.3",
"eslint": "*",
"eslint-config-standard": "*",
"eslint-config-standard-jsx": "*",
"eslint-plugin-import": "*",
"eslint-plugin-node": "*",
"eslint-plugin-promise": "*",
"eslint-plugin-react": "*",
"eslint-plugin-standard": "*",
"mkdirp": "^0.5.0",
"standard": "*",
"tape": "^4.0.0"
},
"homepage": "https://github.com/flet/standard-engine",
"keywords": [

@@ -56,11 +30,32 @@ "JavaScript Standard Style",

],
"repository": "standard/standard-engine",
"license": "MIT",
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/flet/standard-engine.git"
},
"author": "Dan Flettre <flettre@gmail.com> (http://twitter.com/flettre/)",
"scripts": {
"test": "standard && tape test/clone.js test/api.js"
},
"dependencies": {
"deglob": "^4.0.1",
"get-stdin": "^7.0.0",
"minimist": "^1.2.5",
"pkg-conf": "^3.1.0"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"cross-spawn": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-config-standard-jsx": "^8.1.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-standard": "^4.0.1",
"mkdirp": "^0.5.5",
"standard": "^14.3.3",
"tape": "^5.0.0"
},
"engines": {
"node": ">=8.10"
}
}

@@ -13,6 +13,8 @@ # standard-engine [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

## Overview
Wrap your own eslint rules in a easy-to-use command line tool and/or a JS module.
## Install
```
```sh
npm install standard-engine

@@ -22,6 +24,7 @@ ```

## Who is using `standard-engine`?
Here is a list of packages using `standard-engine`. Dive into them for ideas!
- [standard](https://standardjs.com) - JavaScript Standard Style.
- [semistandard](https://github.com/Flet/semistandard) - Its `standard` with semicolons sprinkled on top.
- [semistandard](https://github.com/Flet/semistandard) - Its `standard` with semicolons sprinkled on top.
- [happiness](https://github.com/JedWatson/happiness) - JavaScript Happiness Style (semicolons and tabs)

@@ -31,2 +34,3 @@ - [doublestandard](https://github.com/flet/doublestandard) - Require TWO semicolons at the end of every line!

- [standard-own](https://github.com/o2team/standard-own) - Standard configurable.
- [ts-standard](https://github.com/toddbluhm/ts-standard) - Typescript Standard Style.

@@ -36,5 +40,7 @@ Did you make your own? Create a pull request and we will add it to the README!

## Usage
Create the files below and fill in your own values for `options.js`.
**index.js**
### `index.js`
```js

@@ -47,3 +53,4 @@ // programmatic usage

**cli.js**
### `cli.js`
```js

@@ -55,3 +62,5 @@ #!/usr/bin/env node

```
**options.js**
### `options.js`
```js

@@ -79,4 +88,6 @@ var eslint = require('eslint')

**eslintrc.json**
Put all your .eslintrc rules in this file. A good practice is to create an [ESLint Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) and extend it, but its not required:
### `eslintrc.json`
Put all your .eslintrc rules in this file. A good practice is to create an [ESLint Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) and extend it, but its not required:
```js

@@ -88,2 +99,3 @@ {

```
Take a look at [eslint-config-standard](https://github.com/feross/eslint-config-standard) as an example, or if you want to extend/mutate `standard`, see [eslint-config-semistandard](https://github.com/flet/eslint-config-semistandard).

@@ -293,6 +305,6 @@

* `ignore`: array of file globs to ignore
* `cwd`: string, the current working directory
* `fix`: boolean, whether to automatically fix problems
* `eslintConfig`: object, the options passed to [ESLint's `CLIEngine`](http://eslint.org/docs/developer-guide/nodejs-api#cliengine)
- `ignore`: array of file globs to ignore
- `cwd`: string, the current working directory
- `fix`: boolean, whether to automatically fix problems
- `eslintConfig`: object, the options passed to [ESLint's `CLIEngine`](http://eslint.org/docs/developer-guide/nodejs-api#cliengine)

@@ -299,0 +311,0 @@ ## API Usage

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc