This repository collects ESLint configurations that enforce the code style used by the DevExtreme development team. These configurations are based on the Airbnb JavaScript Style Guide and cover most frequently encountered cases.
Note: Adding new configurations is possible but discouraged. Double-check that none of the existing configurations fits for your case before you add a new configuration.
-
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/typescript']
-
Required plugins
-
Extended plugins and configurations
-
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/javascript']
-
Extended plugins and configurations
Lists words that the spell check should ignore.
-
Usage Add the following line to your .eslintrc file:
"extends": ["devextreme/spell-check"]
-
Required plugins
-
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/renovation-declarations']
-
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/jest']
-
Environment
-
node
(Node.js global variables and scope) -
jest
(Jest global variables)
-
-
Required plugins
-
Extended plugins
plugin:jest/recommended
plugin:jest-formatting/recommended
-
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/qunit']
-
Environment
-
qunit
(QUnit global variables) -
browser
(Browser global variables)
-
-
Required plugins
-
Extended plugins
-
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/testcafe']
-
Environment
-
node
(Node.js global variables and scope) -
browser
(Browser global variables) -
jquery
(jQuery global variables)
-
-
Additional global variables
test
fixture