Open shinGangan opened 4 months ago
Considering the reusability of the module, it may be easier to maintain it by cutting it out as eslint-config. ๐ค
I often create monorepo configurations using pnpm workspace. Therefore, I think that eslint-plugin-import-access is also effective. I haven't used it so far
ใใกใใงๆด็ใใ
Design Doc
Context
Create a module that extends the Nuxt ESLint module and adds commonly used ESLint rules. There is a possibility of adding Prettier, StyleLint, MarkdownLint, etc. in the future, but v0.1.0 will only add ESLint.
Design
module example
Set ESLint module as follows.
stylistic: true
checker: false
Set ESLint rules as follows. Note that the contents set in
@nuxt/eslint-config
are not set.@typescript-eslint/explicit-function-return-type
@typescript-eslint/no-import-type-side-effects
@typescript-eslint/naming-convention
Discuss
add eslint-config-prettier? ๐ค