@unchainedsky/eslint-config
v2.2.2
Published
ESLint config
Downloads
32
Readme
@unchainedsky/eslint-config
ESLint shareable flat config used by Unchained-Sky
Installation
Requires eslint@>=9
npm i -D eslint @unchainedsky/eslint-config
yarn add -D eslint @unchainedsky/eslint-config
pnpm add -D eslint @unchainedsky/eslint-config
Usage
Export in your eslint.config.js
file
import eslintConfig from '@unchainedsky/eslint-config'
export default eslintConfig
To add custom rules, spread the config
import eslintConfig from '@unchainedsky/eslint-config'
export default [
...eslintConfig,
{
rules: {
'semi': ['always', 'warn']
}
}
]