Custom ESLint plugin for Ext JS apps

Usage no npm install needed!

<script type="module">
  import senchaEslintPluginExtjs from 'https://cdn.skypack.dev/@sencha/eslint-plugin-extjs';



ESLint plugin for Ext JS


You'll first need to install ESLint:

$ npm install eslint --save-dev

Next, install @sencha/eslint-plugin-extjs:

First, log into the one of Sencha's NPM repositories that hosts this package with the @sencha scope.

If a current customer, you can use https://npm.sencha.com

$ npm login --registry=https://npm.sencha.com --scope=@sencha

If not a current customer you can request access from the Upgrade Adviser product page. And then run the following npm login command.

$ npm login --registry=https://sencha.myget.org/F/extjs-upgrade-adviser/npm/ --scope=@sencha

NOTE: In both cases, remember to replace the @ character in your username with '..' two periods.

After you have logged into the correct NPM repo, you can install the package by executing the following:

$ npm install @sencha/eslint-plugin-extjs --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-extjs globally.

$ npm install @sencha/eslint-plugin-extjs -g


For the Ext JS plugin, you can enable all of our recommended rules by adding plugin:@sencha/extjs/recommended to the extends section of your .eslintrc configuration file.

"extends": [

To add only the rules you want, add @sencha/extjs to the plugins section of your .eslintrc configuration file.

"plugins": [

And then configure the rules you want to use under the rules section.

"rules": {
    "@sencha/extjs/rule-name": 2

Supported Rules


Deprecated items

Private items

Removed items