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

@andybarron/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@andybarron/eslint-config

Andy's personal ESLint preferences

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Andy's ESLint configuration

This is a strict and very opinionated ESLint preset for my various JavaScript projects.

Usage

  1. npm i -E -D @andybarron/eslint-config
  2. Add @andybarron/eslint-config to the extends section of your ESLint configuration file.

Examples

JSON config file (e.g. .eslintrc.json)
{
  "extends": "@andybarron/eslint-config"
}
YAML config file (e.g. .eslintrc.yaml)

NOTE: The quotes are required due to the @ sign at the beginning of the scoped package name.

extends: '@andybarron/eslint-config'

Development scripts

  • npm run generate - Generate an empty list of all non-deprecated ESLint rules. This overwrites the file lib/rules.js, so be careful!
  • npm test - Ensure that all ESLint rules exist in the preset and that all rules in the preset are valid and not deprecated.
  • npm run lint - Run this linter preset on its own source code (i.e. the lib and scripts directories). So meta!
  • npm run format - Same as lint, but attempt to fix lint errors as well.

Keywords

FAQs

Package last updated on 06 Jan 2018

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