You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://npmjs.com/package/@nuxtjs/eslint-config)
54
54
55
55
> Opinionated [ESlint](https://eslint.org/) configuration used internally by Nuxt projects.
56
56
57
-
## Usage
57
+
###Usage
58
58
59
59
Do you want to add the config to your own projects? There you go:
60
60
@@ -84,7 +84,7 @@ $ yarn add -D eslint
84
84
}
85
85
```
86
86
87
-
## Full example
87
+
###Full example
88
88
89
89
A full example `.eslintrc` for a project with babel support:
90
90
@@ -101,7 +101,7 @@ A full example `.eslintrc` for a project with babel support:
101
101
}
102
102
```
103
103
104
-
## TypeScript
104
+
###TypeScript
105
105
106
106
If you're using TypeScript, follow [Usage](#usage) section by replacing `@nuxtjs/eslint-config` by `@nuxtjs/eslint-config-typescript`.
107
107
@@ -116,7 +116,7 @@ And in your `.eslintrc` all you need is :
116
116
You can then edit/override same rules as you could with `@nuxtjs/eslint-config` but also TypeScript rules.
117
117
You can find the list of supported TypeScript rules [here](https://typescript-eslint.io/rules/#supported-rules) and you can read more about Nuxt's TypeScript support [in the docs](https://nuxt.com/docs/guide/concepts/typescript).
0 commit comments