JSPM

@darkskyapp/eslint-config

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 520
  • Score
    100M100P100Q82054F
  • License Apache-2.0

Dark Sky JavaScript Style - ESLint Shareable Config

Package Exports

  • @darkskyapp/eslint-config

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@darkskyapp/eslint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-config-darksky

travis npm downloads

An ESLint Shareable Config for Dark Sky’s JavaScript style

Install

npm install eslint-config-darksky

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the Dark Sky JavaScript Style shareable config, first run this:

npm install --save-dev eslint-config-darksky eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

Then, add this to your .eslintrc file:

{
  "extends": "darksky"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

License

Apache v2.0 Copyright © The Dark Sky Company, LLC.