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
This plugin provides some predefined configs. You can use the following configs by adding them to `eslint.config.[c|m]js`. (All flat configs in this plugin are provided as arrays, so spread syntax is required when combining them with other configs.)
51
+
52
+
-`*configs["flat/base"]`: Settings and rules to enable correct ESlint parsing.
53
+
-`*configs["flat/recommended"]`: Above, plus rules to enforce subjective community defaults to ensure consistency.
54
+
55
+
### Configuration `.eslintrc.*`
56
+
57
+
Use the `.eslintrc.*` file to configure rules in ESLint < v9. See also:
58
+
https://eslint.org/docs/latest/use/configure/.
59
+
60
+
Example `.eslintrc.js`:
25
61
26
62
```js
27
63
module.export= {
@@ -44,6 +80,13 @@ module.export = {
44
80
45
81
See [the rule list](./rules/README.md)
46
82
83
+
#### Bundle Configurations `eslintrc.*`
84
+
85
+
This plugin provides some predefined configs. You can use the following configs by adding them to `eslintrc.*`.
86
+
87
+
-`plugin:@intlify/svelte/base`: Settings and rules to enable correct ESlint parsing.
88
+
-`plugin:@intlify/svelte/recommended`: Above, plus rules to enforce subjective community defaults to ensure consistency.
89
+
47
90
::: warning ❗ Attention
48
91
49
92
The `@intlify/eslint-plugin-svelte` can not be used with the [eslint-plugin-svelte3].
0 commit comments