We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31cae3b commit 997df59Copy full SHA for 997df59
src/index.ts
@@ -159,22 +159,23 @@ const recommended = {
159
[noImportNodeTestName]: 'error'
160
} as const
161
162
-interface VitestPLugin extends Linter.Plugin {
+interface VitestPlugin extends Linter.Plugin {
163
meta: {
164
name: string
165
version: string
166
}
167
rules: Record<string, RuleModule<any, any>>
168
// TODO: use classic type for config
169
- configs?: Record<string, any>
+ configs: Record<string, any>
170
environments?: Record<string, any>
171
172
173
-const plugin: VitestPLugin = {
+const plugin: VitestPlugin = {
174
175
name: 'vitest',
176
version
177
},
178
+ configs: {},
179
rules: {
180
[lowerCaseTitleName]: lowerCaseTitle,
181
[maxNestedDescribeName]: maxNestedDescribe,
0 commit comments