@osskit/eslint-config
ESLint shareable config used by osskit.
Install
$ npm install --save-dev @osskit/eslint-config
$ yarn add --dev @osskit/eslint-config
Usage
Create an eslint.config.js
file:
import {baseConfig} from '@osskit/eslint-config';
export default [
baseConfig,
];
Additional Configs
This package exposes additional configs.
Use this for your Vitest tests
import {baseConfig, testConfig} from '@osskit/eslint-config';
export default [
baseConfig,
testConfig,
];
Use this for your React projects
import {baseConfig, reactConfig} from '@osskit/eslint-config';
export default [
baseConfig,
reactConfig,
];
Use this for your React tests
import {baseConfig, reactConfig, testConfig} from '@osskit/eslint-config';
export default [
baseConfig,
reactConfig,
testConfig,
];