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 eslint.config.mjs file:
import { typescript } from 'eslint-config-devextreme'; export default [ ...typescript, ]
-
Required packages
-
Extended plugins and configurations
-
Usage Add the following line to your eslint.config.mjs file:
import { javascript } from 'eslint-config-devextreme'; export default [ ...javascript, ]
-
Required packages
Lists words that the spell check should ignore.
-
Usage Add the following line to your eslint.config.mjs file:
import { spellCheck } from 'eslint-config-devextreme'; export default [ ...spellCheck, ]
-
Required packages
-
Usage Add the following line to your eslint.config.mjs file:
import { jest } from 'eslint-config-devextreme'; export default [ ...jest.map(config => ({ ...config, settings: { jest: { version: 'your jest version' } } })), ]
-
Required packages
-
Extended plugins
jestPlugin.configs['flat/recommended']
jestFormatting.configs['flat/recommended']
-
Usage Add the following line to your eslint.config.mjs file:
import { qunit } from 'eslint-config-devextreme'; export default [ ...qunit, ]
-
Required packages
-
Extended plugins
-
Usage Add the following line to your eslint.config.mjs file:
import { testcafe } from 'eslint-config-devextreme'; export default [ ...testcafe, ]
-
Usage Add the following line to your eslint.config.mjs file:
import { react } from 'eslint-config-devextreme'; export default [ ...react, settings: { react: { version: 'detect', }, }, ]
-
Required packages
-
Usage Add the following line to your eslint.config.mjs file:
import angular from 'eslint-config-devextreme'; export default [ ...angular, ]
-
Required packages
-
Usage Add the following line to your eslint.config.mjs file:
import vue from 'eslint-config-devextreme'; export default [ ...vue, ]
-
Required packages