1.0.0 • Published 12 months ago

@salesforce/eslint-plugin-lwc-mobile v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@salesforce/eslint-plugin-lwc-mobile

Installation

To add this plugin to your package/project, install it with your favorite Node.js package manager.

yarn

$ yarn add --dev @salesforce/eslint-plugin-lwc-mobile

npm

$ npm install --save-dev @salesforce/eslint-plugin-lwc-mobile

Configuration

Here's an example snippet of a .eslintrc.json configuration file, that will configure the eslint-plugin-lwc-mobile plugin. Extending the plugin:@salesforce/lwc-mobile/recommended ESLint configuration will enable static analysis on all .js files used in your Lightning web components.

{
    "extends": ["eslint:recommended", "plugin:@salesforce/lwc-mobile/recommended"]
}
1.0.0

12 months ago