Socket
Socket
Sign inDemoInstall

eslint-config-reverentgeek

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-reverentgeek

ESLint rules that ReverentGeek likes :)


Version published
Maintainers
1
Install size
4.07 kB
Created

Readme

Source

eslint-config-reverentgeek

This package is ReverentGeek's preferred configuration settings for eslint.

Usage

  1. Install dependencies.
npm install --save-dev eslint eslint-config-reverentgeek
  1. Create an .eslintrc.js file.
  2. Add the following to the config file.
module.exports = {
	extends: [ "reverentgeek" ]
};

Alternative Rule Sets

The blog rule set changes to code style to two-spaced indentions, which is better for copying code samples to blog posts.

module.exports = {
	extends: [ "reverentgeek/blog" ]
};

The node rule set adds specific support for Node.js and CommonJS modules.

"use strict";

module.exports = {
	extends: [ "reverentgeek/node" ]
};

The node/module rule set adds specific support for Node.js and ES modules (import/export).

"use strict";

module.exports = {
	extends: [ "reverentgeek/node/module" ]
};

The browser rule set the browser environment and adds ES module support.

module.exports = {
	extends: [ "reverentgeek/browser" ]
};

Keywords

FAQs

Last updated on 15 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc