1.0.6 • Published 2 years ago

@blueprint-modernized/eslint-config v1.0.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Blueprint ESLint Configuration

Blueprint is a React UI toolkit for the web.

This package contains the ESLint configuration for Blueprint. It enables lint rules which enforce code style conventions and enables the @blueprint-modernized/eslint-plugin plugin.

Installation

yarn add @blueprint-modernized/eslint-config

Usage

Enable this configuration in your ESLint configuration file (e.g. .eslintrc.json):

{
    "extends": ["@blueprint-modernized/eslint-config"]
}

VSCode

If you use VSCode, install the dbaeumer.vscode-eslint plugin to lint your code in the editor. We recommend enabling these global VSCode settings:

"editor.formatOnSave": true,
"eslint.format.enable": true