eslint-config-brightspace

1.1.1 • Public • Published

eslint-config-brightspace

NPM version

Common Brightspace eslint configs.

Installation

npm install eslint-config-brightspace

Usage

Set the extends property in the .eslintrc.json file, replacing <environment> with the desired environment-specific config.

{
  "extends": "brightspace/<environment>"
}

Environment Specific Configs

Environment Description
browser-config use with code that runs in a browser
lit-config use with Lit projects
testing-config use with @brightspace-ui/testing test code
node-config use with Node.js projects
react-config use with React projects

Example:

{
  "extends": "brightspace/lit-config"
}

See the eslint rules for more details on rule configuration. See the eslint shareable configs for more details on creating configs.

Developing and Contributing

After cloning the repo, run npm install to install dependencies.

Versioning and Releasing

This repo is configured to use semantic-release. Commits prefixed with fix: and feat: will trigger patch and minor releases when merged to main.

To learn how to create major releases and release from maintenance branches, refer to the semantic-release GitHub Action documentation.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i eslint-config-brightspace

      Weekly Downloads

      6,942

      Version

      1.1.1

      License

      Apache-2.0

      Unpacked Size

      20.2 kB

      Total Files

      10

      Last publish

      Collaborators

      • d2l-travis-deploy