Adding the top-level-styles rule in our repo results in an error, it seems to be missing from the plugin configuration:
https://github.com/microsoft/griffel/blob/main/packages/eslint-plugin/src/index.ts
top-level-styles and styles-file are missing from the recommended preset:
https://github.com/microsoft/griffel/blob/main/packages/eslint-plugin/src/configs/recommended.ts
Adding the
top-level-stylesrule in our repo results in an error, it seems to be missing from the plugin configuration:https://github.com/microsoft/griffel/blob/main/packages/eslint-plugin/src/index.ts
top-level-stylesandstyles-fileare missing from the recommended preset:https://github.com/microsoft/griffel/blob/main/packages/eslint-plugin/src/configs/recommended.ts