JSPM

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

ESLint configuration for edX JavaScript code.

Package Exports

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

Build Status NPM Version npm_downloads license semantic release

eslint-config

Installation

If you're using @edx/frontend-build, then you'll get this package for free. Otherwise, you can install it via:

npx install-peerdeps --dev @edx/eslint-config

This will install the package and all of its peer dependencies.

Then, once it's installed, create an .eslintrc.js file in the top-level directory of your project with the following contents:

module.exports = {
  extends: "@edx/eslint-config",
}