Shlink - JS coding standard
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:
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:
import { baseConfig } from '@shlinkio/eslint-config-js-coding-standard';
export default [
...baseConfig,
{
}
];