@svrbc/eslint-config
v1.1.1
Published
Eslint config for SVRBC development
Downloads
757
Readme
SVRBC ESLint Configuration
This is a default/base ESLint configuration for SVRBC projects.
Installation
npm install --save-dev @svrbc/eslint-config
In a standard node project
eslint.config.ts
import svrbcConfig from "../svrbc-eslint-config";
export default [
...svrbcConfig,
{
// overrides
},
];
In a nuxt project
nuxt.config.ts
export default defineNuxtConfig({
// ...
modules: [
// ...
"@nuxt/eslint",
// ...
],
// ...
});
eslint.config.ts
import svrbcConfig from "../svrbc-eslint-config";
import withNuxt from ".nuxt/eslint.config.mjs";
export default withNuxt(...svrbcConfig, {
// overrides
});