New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ls-age/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ls-age/eslint-config

This package provides ls-age's ESLint configuration

  • 0.9.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-61.11%
Maintainers
2
Weekly downloads
 
Created
Source

@ls-age/eslint-config

This package provides ls-age's ESLint configuration.

Heavily inspired by Airbnb's ESLint config.

Main differences to eslint-config-airbnb:

ava sub-config

A special config for linting AVA test files.

Usage via .eslintrc

{
  "extends": "@ls-age/eslint-config/ava"
}

The mocha environment:

This config contains an advanced mocha environment. The following code is assumed to be in a mocha ESLint environment.

Non-arrow-callbacks are allowed

describe('This is valid', function() { ... })

Importing devDependencies is allowed

In other environments importing devDependencies is not allowed.

Anonymous functions don't need a space before parenthesis:

// This is valid
doAync(function() { ... })

// while this is not
doAync(function () { ... })

Dangling underscores in identifiers are allowed

This allows documentation generators to assume members are private.

API docs are linted

API docs are linted using eslint-plugin-jsdoc.

Keywords

FAQs

Package last updated on 29 Oct 2019

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