Socket
Socket
Sign inDemoInstall

eslint-config-standard

Package Overview
Dependencies
Maintainers
11
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-standard - npm Package Compare versions

Comparing version 6.2.1 to 17.1.0

.eslintrc.json

3

index.js

@@ -1,1 +0,2 @@

module.exports = require('./eslintrc.json')
/*! eslint-config-standard. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
module.exports = require('./.eslintrc.json')
{
"name": "eslint-config-standard",
"description": "JavaScript Standard Style - ESLint Shareable Config",
"version": "6.2.1",
"version": "17.1.0",
"author": {
"name": "Feross Aboukhadijeh",
"email": "feross@feross.org",
"url": "http://feross.org/"
"url": "https://feross.org"
},
"bugs": {
"url": "https://github.com/feross/eslint-config-standard/issues"
"url": "https://github.com/standard/eslint-config-standard/issues"
},
"engines": {
"node": ">=12.0.0"
},
"devDependencies": {
"eslint": "^3.8.1",
"eslint-plugin-promise": "^3.3.0",
"eslint-plugin-standard": "^2.0.0",
"tape": "^4.6.0"
"@types/eslint": "^8.4.1",
"@types/tape": "^4.13.2",
"eslint": "^8.13.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-promise": "^6.0.0",
"tape": "^5.5.2"
},
"homepage": "https://github.com/feross/eslint-config-standard",
"homepage": "https://github.com/standard/eslint-config-standard",
"keywords": [

@@ -49,13 +55,29 @@ "JavaScript Standard Style",

"peerDependencies": {
"eslint": ">=3.8.1",
"eslint-plugin-promise": ">=3.3.0",
"eslint-plugin-standard": ">=2.0.0"
"eslint": "^8.0.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0"
},
"repository": {
"type": "git",
"url": "git://github.com/feross/eslint-config-standard.git"
"url": "git://github.com/standard/eslint-config-standard.git"
},
"scripts": {
"test": "tape test/*.js"
}
"lint": "eslint .",
"test": "npm run lint && tape test/*.js"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
]
}

@@ -1,8 +0,5 @@

# Standard - ESLint Shareable Config
[![travis][travis-image]][travis-url]
[![npm][npm-image]][npm-url]
[![downloads][downloads-image]][downloads-url]
# eslint-config-standard [![CI][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
[travis-image]: https://img.shields.io/travis/feross/eslint-config-standard/master.svg
[travis-url]: https://travis-ci.org/feross/eslint-config-standard
[ci-image]: https://github.com/standard/eslint-config-standard/actions/workflows/ci.yml/badge.svg?branch=master
[ci-url]: https://github.com/standard/eslint-config-standard/actions/workflows/ci.yml
[npm-image]: https://img.shields.io/npm/v/eslint-config-standard.svg

@@ -12,11 +9,13 @@ [npm-url]: https://npmjs.org/package/eslint-config-standard

[downloads-url]: https://npmjs.org/package/eslint-config-standard
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com
#### An ESLint [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) for [JavaScript Standard Style](http://standardjs.com)
This module is for advanced users. You probably want to use [`standard`](http://standardjs.com) instead :)
[![JavaScript Style Guide - Standard Style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](http://standardjs.com)
## Install
This module is for advanced users. You probably want to use [`standard`](http://standardjs.com) instead :)
```bash

@@ -33,9 +32,19 @@ npm install eslint-config-standard

To use the JavaScript Standard Style shareable config, first run this:
**If you want to set up the config automatically**, follow these steps in your project directory:
1. `npx eslint --init`
2. Select "Use a popular style guide."
3. Select "Standard."
4. Select a config file format.
5. If prompted, confirm the installation of the necessary dependencies.
The above steps will automatically set up an ESLint configuration and install the necessary dependencies for you.
**If you want to set up the config manually**, run the following command:
```bash
npm install --save-dev eslint-config-standard eslint-plugin-standard eslint-plugin-promise
npm install --save-dev eslint-config-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-n
```
Then, add this to your .eslintrc file:
Then, add this to your `.eslintrc` file:

@@ -65,6 +74,6 @@ ```

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](http://standardjs.com)
[![js-standard-style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)
```markdown
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](http://standardjs.com)
[![js-standard-style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)
```

@@ -71,0 +80,0 @@

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