shamefully-hoist=true
strict-peer-dependencies=false
auto-install-peers=true
@nobears-front-end:registry=https://git.nobears.nl/api/v4/packages/npm/
//git.nobears.nl/:_authToken=${GIT_NOBEARS_TOKEN}
You can install the module with your favorite package manager:
pnpm add @nobears-front-end/eslint
yarn add @nobears-front-end/eslint
npm install @nobears-front-end/eslint
bun add @nobears-front-end/eslint
import { eslintFactory } from "@nobears-front-end/eslint";
export default eslintFactory({
preset: "nuxt-app",
});
If you want to use the eslint package in your Nuxt project, you can add the following configuration to your nuxt.config.ts file.
export default defineNuxtConfig({
eslint: {
config: {
stylistic: {
indent: 4,
quotes: "double",
semi: true,
},
standalone: false,
autoInit: false,
},
},
});