Skip to content
PluginStats

@lwc/eslint-plugin-lwc weekly downloads statistics

By lwc · npm · ESLint plugins

Official ESLint rules for LWC

View on npm Fresh · Oct 18, 2026

@lwc/eslint-plugin-lwc has 200,174 recorded weekly downloads on npm, a decrease of 42.0% over the past 30 days, ranking #391 of 2,322 tracked listings.

Weekly downloads
200,174
Official API · Oct 18, 2026
7-day growth
-48.9%
-191.4K weekly downloads
30-day growth
-42.0%
-145K weekly downloads
90-day growth
-51.5%
-212.7K weekly downloads
Rank
#391
Among tracked npm listings

About @lwc/eslint-plugin-lwc

@lwc/eslint-plugin-lwc

Official ESLint rules for Lightning Web Components (LWC).

Installation

$ npm install eslint @babel/core @babel/eslint-parser @lwc/eslint-plugin-lwc --save-dev

Usage

Starting with v3.0.0, @lwc/eslint-plugin-lwc only supports eslint@v9. Use @lwc/eslint-plugin-lwc@v1.x for older versions of eslint.

Import @lwc/eslint-plugin-lwc and use it in the plugins section of your configuration as shown below. Then configure the desired rules in the rules sections. Some of the syntax used in Lightning Web Components is not yet stage 4 (eg. class fields or decorators), and the out-of-the-box parser from ESLint doesn't support this syntax yet. In order to parse the LWC files properly, set the parser field to @babel/eslint-parser in the languageOptions section of the eslint config.

Example of eslint.config.js:

const eslintPluginLwc = require('@lwc/eslint-plugin-lwc');
const babelParser = require('@babel/eslint-parser');

module.exports = [
    {
        languageOptions: {
            parser: babelParser,
            parserOptions: {
                requireConfigFile: false,
                babelOptions: {
                    parserOpts: {
                        plugins: [
                            'classProperties',
                            ['decorators', { decoratorsBeforeExport: false }],
                        ],
                    },
                },
            },
        },
        plugins: {
            '@lwc/lwc': eslintPluginLwc, // https://github.com/salesforce/eslint-plugin-lwc
        },
        rules: {
            '@lwc/lwc/no-deprecated': 'error',
            '@lwc/lwc/valid-api': 'error',
            '@lwc/lwc/no-document-query': 'error',
            '@lwc/lwc/ssr-no-unsupported-properties': 'error',
        },
    },
];
Usage with TypeScript

To enable working with TypeScript projects, install @babel/preset-typescript as a dependency add "typescript" to languageOptions.parserOptions.babelOptions.parserOpts.plugins in your eslint.config.js.

Example:

const eslintPluginLwc = require('@lwc/eslint-plugin-lwc');
const babelParser = require('@babel/eslint-parser');

module.exports = [
    {
        languageOptions: {
            parser: babelParser,
            parserOptions: {
                requireConfigFile: false,
                babelOptions: {
                    parserOpts: {
                        plugins: [
                            'classProperties',
                            ['decorators', { decoratorsBeforeExport: false }],
                            'typescript',
                        ],
                    },
                },
            },
        },
    },
];

For more details about configuration please refer to the dedicated section in the ESLint documentation: https://eslint.org/docs/user-guide/configuring

Configurations

To choose from three configuration settings, install the eslint-config-lwc sharable configuration package.

Processors
Processor IDDescription
lwc/ssrLint only JavaScript files of SSR-able components

Rules

LWC
Rule IDDescriptionFixable
lwc/consistent-component-nameensure component class name matches file name🔧
lwc/no-api-reassignmentsprevent public property reassignments
lwc/no-deprecateddisallow usage of deprecated LWC APIs
lwc/newer-version-availablesuggest newer versions of module imports when available✓
lwc/no-document-querydisallow DOM query at the document level
lwc/no-attributes-during-constructiondisallow setting attributes during construction
lwc/no-disallowed-lwc-importsdisallow importing unsupported APIs from the lwc package
lwc/no-leading-uppercase-api-nameensure public property doesn't start with an upper-case character
lwc/no-unexpected-wire-adapter-usagesenforce wire adapters to be used with wire decorator
…

Description from the npm listing.

  • eslint
  • eslint-plugin
  • lwc
  • salesforce

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@lwc/eslint-plugin-lwc weekly downloads on npm, last 90 days: 200,174 weekly downloads as of Oct 18, 2026, -51.5% over 90 days.@lwc/eslint-plugin-lwcWeekly downloads on npm · Last 90 days200,174downloads / week-51.5% over 90 days150K200K250K300K350K400K450K500KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@lwc/eslint-plugin-lwc weekly downloads on npm, last 90 days: 200,174 weekly downloads as of Oct 18, 2026, -51.5% over 90 days.

7/30/90-day growth

@lwc/eslint-plugin-lwc weekly downloads growth on npm: -48.9% over 7 days, -42.0% over 30 days, -51.5% over 90 days.@lwc/eslint-plugin-lwcWeekly downloads growth on npm200,174downloads / week now7-day growth-191,368 weekly downloads-48.9%30-day growth-145,036 weekly downloads-42.0%90-day growth-212,673 weekly downloads-51.5%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@lwc/eslint-plugin-lwc weekly downloads growth on npm: -48.9% over 7 days, -42.0% over 30 days, -51.5% over 90 days.

Ranking history

@lwc/eslint-plugin-lwc npm ranking history: currently #391 (by weekly downloads).@lwc/eslint-plugin-lwcnpm ranking · by weekly downloads · Last 90 days#391current rank#150#200#250#300#350#400Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@lwc/eslint-plugin-lwc npm ranking history: currently #391 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 20, #11 (overall #391)
All npm: every listing in weekly downloads order

Listing placement

ESLint plugins256 listings · 13 pages · page 5, #4 (overall #84)
ESLint plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (543)
Recent weekly downloads observations for @lwc/eslint-plugin-lwc
Date (UTC)Weekly downloadsChange vs. previous
200,174+17.7K
182,498-21.9K
204,361+2.5K
201,886-92.7K
294,561-94.5K
389,0390
389,039-2.5K
391,542+2.6K
388,973-533
389,506+12.2K
377,271+8.4K
368,890+6.7K
362,229-92.1K
454,318—

Similar npm ESLint plugins plugins

All 20 @lwc/eslint-plugin-lwc alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@lwc/eslint-plugin-lwc. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.