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

@colepeters/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colepeters/eslint-config

My preferred ESLint configuration

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@colepeters/eslint-config

My preferred ESLint configuration. I use this configuration alongside Prettier, with the following configuration:

module.exports = {
  jsxSingleQuote: true,
  semi: false,
  singleQuote: true,
  trailingComma: 'es5',
}

The usage instructions below presume you want to use Prettier, too.

Usage

Install this package and dependencies via NPM:

npm i --save-dev eslint @colepeters/eslint-config prettier eslint-config-prettier

Create an ESLint configuration file in your project, with the following contents:

module.exports = {
  'extends': ['@colepeters/eslint-config', 'prettier']
}

Excluding setup with your IDE, which is outside the scope of this readme, that’s it!

Keywords

FAQs

Package last updated on 28 Jul 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc