eslint-config-devextreme
v1.1.5
Published
ESLint Configurations for the DevExtreme Source Code
Downloads
10,925
Readme
ESLint Configurations for the DevExtreme Source Code
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.
List of Configurations
TypeScript
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/typescript']
Required plugins
Extended plugins and configurations
JavaScript
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/javascript']
Extended plugins and configurations
Spell Check
Lists words that the spell check should ignore.
Usage Add the following line to your .eslintrc file:
"extends": ["devextreme/spell-check"]
Required plugins
Renovation Declarations
Usage Add the following line to your .eslintrc file:
'extends': ['devextreme/renovation-declarations']
Jest Tests
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
QUnit Tests
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
TestCafe Tests
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