JSPM

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

eslint plugin for kdu.js projects

Package Exports

  • eslint-plugin-kdu
  • eslint-plugin-kdu/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-plugin-kdu) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-plugin-kdu

ESLint plugin for Kdu.js projects

Usage

  1. npm install --save-dev eslint-plugin-kdu
  2. create a file named .eslintrc in your project:
{
  extends: [ /* your usual extends */ ],
  plugins: ["kdu"],
  rules: {
    'kdu/jsx-uses-vars': 2,
  },
}
  1. OPTIONAL: install eslint-config-kdu: npm install --save-dev eslint-config-kdu
  2. OPTIONAL: then use the recommended configurations in your .eslintrc:
{
  extends: ["kdu", /* your other extends */],
  plugins: ["kdu"],
  rules: {
    /* your overrides -- kdu/jsx-uses-vars is included in eslint-config-kdu */
  },
}

License

MIT