Skip to content

salesforce/eslint-plugin-lwc-mobile

Folders and files

NameName
Last commit message
Last commit date
Jan 10, 2025
Jun 21, 2024
Jun 6, 2024
Dec 4, 2024
Mar 24, 2025
Jun 27, 2024
Nov 22, 2024
May 3, 2024
Apr 29, 2024
Nov 22, 2024
Jun 11, 2024
May 3, 2024
Apr 29, 2024
Jun 21, 2024
May 17, 2024
Jun 7, 2024
Mar 24, 2025
Mar 24, 2025
Oct 3, 2024

Repository files navigation

@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"]
}