@locker/eslint-config-locker
Locker ESLint configurations
Installation
$ yarn add --dev eslint @locker/eslint-config-locker
Usage
Add the appropriate configuration to the extends
field in your configuration.
Example of .eslintrc
:
{
"extends": ["@locker/eslint-config-locker"]
}
For more details about configuration, please refer to the dedicated section in the ESLint documentation:
https://eslint.org/docs/user-guide/configuring#using-a-shareable-configuration-package
Configurations
This package exposes 1 configuration for your usage.
@locker/eslint-config-locker/base
Configuration
Goal:
Prevent common pitfalls with Lightning Locker.
Rules:
Locker specific rules.