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
> bun run lint
$ eslint .
Oops! Something went wrong! :(
ESLint: 9.13.0
Configuration for rule "await-interactions" is invalid. Each rule must have a severity ("off", 0, "warn", 1, "error", or 2) and may be followed by additional options for the rule.
You passed '{ "defaultOptions": [], "meta": { "docs": { "description": "Interactions should be awaited", "categories": [ "addon-interactions", "recommended" ], "recommended": "error", "url": "https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/await-interactions.md" }, "messages": { "interactionShouldBeAwaited": "Interaction should be awaited: {{method}}", "fixSuggestion": "Add `await` to method" }, "type": "problem", "fixable": "code", "hasSuggestions": true, "schema": [] } }', which doesn't contain a valid severity.If you're attempting to configure rule options, perhaps you meant:
"await-interactions": ["error", {
"defaultOptions": [],
"meta": {
"docs": {
"description": "Interactions should be awaited",
"categories": [
"addon-interactions",
"recommended"
],
"recommended": "error",
"url": "https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/await-interactions.md"
},
"messages": {
"interactionShouldBeAwaited": "Interaction should be awaited: {{method}}",
"fixSuggestion": "Add `await` to method"
},
"type": "problem",
"fixable": "code",
"hasSuggestions": true,
"schema": []
}
}]
See https://eslint.org/docs/latest/use/configure/rules#using-configuration-files for configuring rules.
The text was updated successfully, but these errors were encountered:
main
브랜치에서 린터를 실행하면 다음과 같은 오류가 발생함The text was updated successfully, but these errors were encountered: