JSPM

eslint-config-6river

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

ESLint shareable config for the 6RS style

Package Exports

  • eslint-config-6river
  • eslint-config-6river/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-6river) 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-6river

  1. npm i -D eslint-config-6river
  2. Add one of the following to .eslintrc.json:
  • TypeScript: {"extends": "6river/typescript"}
  • JavaScript: {"extends": "6river"}
  • mixed: {"extends": "6river/typescript"}
  • Mocha tests: {"extends": "6river/mocha"}
  • AngularJS: {"extends": "6river/angular"}
  1. Add one of the following to the scripts property in package.json:
    • TypeScript: "lint": "eslint --ext .ts ."
    • JavaScript: "lint": "eslint --ext .js ."
    • mixed: "lint": "eslint --ext .js,ts ."
  2. npm run lint