Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

25 watching

Forks

Latest commit

 

History

205 Commits

Folders and files

Repository files navigation

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.

Legacy Airbnb presets are vendored inside this package (airbnb-config-legacy), so you no longer need to install eslint-config-airbnb-base or eslint-config-airbnb-typescript.

Required packages

Each configuration has its own entry point, such as eslint-config-devextreme/typescript. Import only the configurations you use: an entry point loads only the plugins of its configuration.

List of Configurations

  1. TypeScript
  2. JavaScript
  3. Spell Check
  4. Jest Tests
  5. QUnit Tests
  6. TestCafe Tests
  7. React
  8. Angular
  9. Vue
  10. jQuery
  11. Stylelint

TypeScript

JavaScript

  • Usage Add the following lines to your eslint.config.mjs file:

    import javascript from 'eslint-config-devextreme/javascript';
    
    export default [
      ...javascript,
    ];
  • Required packages

Spell Check

Lists words that the spell check should ignore.

  • Usage Add the following lines to your eslint.config.mjs file:

    import spellCheck from 'eslint-config-devextreme/spell-check';
    
    export default [
      ...spellCheck,
    ];
  • Required packages

Jest Tests

QUnit Tests

TestCafe Tests

React

Angular

Vue

jQuery

Stylelint

A Stylelint configuration for CSS files.

  • Usage Add the following lines to your stylelint.config.mjs file:

    import stylelintConfig from 'eslint-config-devextreme/stylelintrc';
    
    export default stylelintConfig;
  • Required packages

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

25 watching

Forks

Releases

Packages

Used by

Contributors

Languages