JSPM

@ionic/eslint-config

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 45417
  • Score
    100M100P100Q155707F
  • License MIT

Common eslint rules/preferences for Ionic.

Package Exports

  • @ionic/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 (@ionic/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

@ionic/eslint-config

Shared ESLint config used in Ionic and Capacitor projects.

Usage

  1. Remove existing .eslintrc.* file, if present.

  2. Install eslint and the config.

    npm install -D eslint @ionic/eslint-config
  3. Add the following to package.json:

    "eslintConfig": {
      "extends": "@ionic"
    }