Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.16 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.16 KB

Exadel Smart Library - Shared StyleLint Configuration

Authors: Alexey Stsefanovich (ala'n).

Packages maintained by ESL Team often use StyleLint to ensure code quality and consistency. To simplify the process of configuring StyleLint for these packages, we have developed a shared StyleLint configuration. This configuration is designed to be used as a base for StyleLint configuration in projects that use ESL package, or decide to follow ESL source code style.

Installation

To use ESL shared StyleLint configuration, you need to install it as npm package:

npm install --save-dev @exadel/stylelint-config-esl

Ensure that you have the StyleLint package of version 15.0.0 or higher, shared configuration uses separate @stylistic package to check style rules.

Once installed, the configuration needs to be added in StyleLint configuration file:

module.exports = {
  // StyleLint configuration
  // ...
  extends: [
    // Apply ESL Shared StyleLint Configuration
    '@exadel/stylelint-config-esl',
  ]
};

Exadel, Inc.