@jhwelch/eslint-config
v5.0.3
Published
JHWelch personal ESLint Config
Readme
@jhwelch/eslint-config
This is a shared ESLint config for JHWelch projects.
It currently supports a TypeScript project with Vue.
Installation
npm install --save-dev eslint @jhwelch/eslint-configUsage
The simplest usage without any modification
// eslint.config.mjs
import { defineConfig } from 'eslint/config';
import jhwelch from '@jhwelch/eslint-config'
export default defineConfig([
...jhwelch,
])You can override the rules by extending the config. See the ESLint Documentation for more information.
// eslint.config.mjs
import { defineConfig } from 'eslint/config';
import jhwelch from '@jhwelch/eslint-config'
export default defineConfig([
...jhwelch,
{
rules: {
'no-unused-vars': 'warn',
},
},
])