sveltejs / eslint-plugin-svelte

ESLint plugin for Svelte using AST
https://sveltejs.github.io/eslint-plugin-svelte/
MIT License
282 stars 30 forks source link

Global styles get `Unused CSS selector` error #577

Open SebasF1349 opened 10 months ago

SebasF1349 commented 10 months ago

Before You File a Bug Report Please Confirm You Have Done The Following...

What version of ESLint are you using?

8.48.0

What version of eslint-plugin-svelte are you using?

2.33.0

What did you do?

Configuration ``` module.exports = { root: true, extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:svelte/recommended', 'plugin:svelte/prettier', 'prettier' ], parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], ignorePatterns: ['*.cjs', '/src-tauri/target', '*.config*', '/build', '*.json'], overrides: [ { files: ['*.svelte'], parser: 'svelte-eslint-parser', // Parse the ` Githubissues.
  • Githubissues is a development platform for aggregating issues.