3.2.1 • Published 8 months ago

@shlinkio/eslint-config-js-coding-standard v3.2.1

Weekly downloads
165
License
MIT
Repository
github
Last release
8 months ago

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 (which includes eslint and typescript recommended rules), and the react-specific one (which includes JSX accessibility, react and react hooks recommended rules).

Default export includes both:

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

export default [
  ...shlink,
  {
    // Other rules...
  }
];

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,
  {
    // Other rules...
  }
];
3.2.1

8 months ago

3.2.0

8 months ago

3.1.0

9 months ago

3.0.1

11 months ago

3.0.0

12 months ago

2.5.0

1 year ago

2.5.2

12 months ago

2.5.1

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago