JSPM

@siriusbeck/eslint-config

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 105
  • Score
    100M100P100Q43208F
  • License MIT

ESLint config used by Sirius Beck, including: typescript, react, jest, prettier, etc.

Package Exports

  • @siriusbeck/eslint-config
  • @siriusbeck/eslint-config/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 (@siriusbeck/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

Sirius Beck ESLint Config

Installation

npm install -D eslint @siriusbeck/eslint-config

How to use

Inside the .eslintrc file, add "@siriusbeck/eslint-config" for basic coconfiguration:

{
  "extends": "@siriusbeck/eslint-config"
}

Configuration for other frameworks:

{
  // node | react | next
  "extends": "@siriusbeck/eslint-config/node"
}

What's included?

  • Standars config
  • React plugin + config
  • React Hooks - plugin
  • JSX a11y - plugin
  • Import plugin
  • Import Helpers plugin
  • Prettier
  • TypeScript (opcional)