Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.18 KB

Shlink - JS coding standard

npm npm downloads GitHub license Paypal Donate

Coding standard used by Shlink JavaScript projects.

This library includes two ESLint configurations, the base one, and the react-specific one. Default export includes both:

// eslint.config.js
import shlink from '@shlinkio/eslint-config-js-coding-standard';

export default shlink;

If the project does not use React, you can just use the base config:

// eslint.config.js
import { baseConfig } from '@shlinkio/eslint-config-js-coding-standard';

export default baseConfig;