@osskit/eslint-config
v2.0.4
Published
The ESLint config used by osskit
Downloads
19,924
Maintainers
Readme
@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.
Test
Use this for your Vitest tests
import {baseConfig, testConfig} from '@osskit/eslint-config';
export default [
baseConfig,
testConfig,
];
React
Use this for your React projects
import {baseConfig, reactConfig} from '@osskit/eslint-config';
export default [
baseConfig,
reactConfig,
];
React
& Test
Use this for your React tests
import {baseConfig, reactConfig, testConfig} from '@osskit/eslint-config';
export default [
baseConfig,
reactConfig,
testConfig,
];