future-architect / eslint-plugin-vue-scoped-css

ESLint plugin for Scoped CSS in Vue.js
https://future-architect.github.io/eslint-plugin-vue-scoped-css/
MIT License
97 stars 9 forks source link

it is not working for me #330

Closed zzzgit closed 7 months ago

zzzgit commented 7 months ago

I installed this plugin and then configured it in .eslintrc.cjs.

[Info - 8:07:14 PM] ESLint server is starting. [Info - 8:07:14 PM] ESLint server running in node v18.15.0 [Info - 8:07:14 PM] ESLint server is running. [Info - 8:07:14 PM] ESLint library loaded from: ~/project//node_modules/eslint/lib/api.js

module.exports = {
    root: true,
    extends: [
        '...others',
        'plugin:vue/vue3-strongly-recommended',
        'plugin:vue-scoped-css/vue3-recommended'
    ],
    plugins: [
        'vue',
    ]
}

It is not working for me. Only the script section could be formatted but not the style section.

ota-meshi commented 7 months ago

I'm not sure what you mean. We cannot use extends or root in eslint.config.js. Please provide the environment to reproduce the problem.

zzzgit commented 7 months ago

I'm not sure what you mean. We cannot use extends or root in eslint.config.js. Please provide the environment to reproduce the problem.

Sorry, it's .eslintrc.cjs

ota-meshi commented 7 months ago

It works fine for me. Please create a minimally repository to reproduce the issue and share it with me.