3.5.0 • Published 4 months ago

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

Weekly downloads
165
License
MIT
Repository
github
Last release
4 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 on their own entry points:

  • /base: includes recommended eslint, typescript and imports rules
  • /react includes recommended JSX accessibility, react, react hooks and react compiler rules.

The default entry point includes both of them:

// 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/base';

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

If you need to access react rules independently, use the /react entry point:

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

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

5 months ago

3.3.0

5 months ago

3.5.0

4 months ago

3.4.1

4 months ago

3.2.1

9 months ago

3.2.0

9 months ago

3.1.0

10 months ago

3.0.1

12 months ago

3.0.0

1 year ago

2.5.0

1 year ago

2.5.2

1 year 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