JSPM

eslint-config-nugit

4.0.1-beta.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 102
  • Score
    100M100P100Q71458F
  • License MIT

Nugit's JS ESLint config, following our styleguide

Package Exports

  • eslint-config-nugit
  • eslint-config-nugit/index.js

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 (eslint-config-nugit) 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-nugit

npm version

This package provides Nugit's JS .eslintrc as an extensible shared config.

Installation

npm i eslint-config-nugit --save-dev

NOTE: NPM 10 is required otherwise you'll need to manually install peerDependencies. Peer dependencies change won't be considered as breaking change anymore.

Usage

We export two ESLint configurations for your usage.

eslint-config-nugit

Our default export contains all of our ESLint rules, including ECMAScript 6+, FlowJS and React.

If you don't need React, see eslint-config-nugit/base.

  • Add "extends": "nugit" to your .eslintrc.

eslint-config-nugit/base

Our default export contains all of our ESLint rules, including ECMAScript 6+ and FlowJS.

  • Add "extends": "nugit/base" to your .eslintrc

eslint-config-nugit/script

Same as eslint-config-nugit/base but allow to use devDependencies & console.log.

  • Add "extends": "nugit/script" to your .eslintrc