Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes "transform" class #369

Open
yogeshgalav opened this issue Oct 24, 2024 · 0 comments
Open

Removes "transform" class #369

yogeshgalav opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yogeshgalav
Copy link

Describe the bug
A linter should never cause a bug, it's the first and only lint plugin I'm regret of using,
It removed transform class from whole of my code base lead to various issue on production,
Now need to add those lines one by one.

To Reproduce
Removes "transform" class

Expected behavior
Should give error but not autofix things where classes are removed.

eslint config file or live demo

module.exports = {
    env: {
        browser: true,
        es6: true,
        node: true,
    },
    extends: [
        'eslint:recommended',
        'plugin:vue/vue3-recommended',
        // 'plugin:vue/vue3-essential',
        '@vue/eslint-config-typescript/recommended',
        // 'plugin:tailwindcss/recommended',
        // '@vue/eslint-config-prettier',
        // "airbnb-base"
    ],
    globals: {
        Atomics: 'readonly',
        SharedArrayBuffer: 'readonly',
        ga: true,
    },
    parserOptions: {
        ecmaVersion: 13,
        sourceType: 'module',
        ecmaFeatures: {
            jsx: false,
        },
    },
    plugins: ['vue', 'html'],
    ignorePatterns: ['**/node_modules', '**/vendor'],
    rules: {
        'max-len': ['off'],
        'vue/first-attribute-linebreak': [
            'error',
            {
                singleline: 'ignore',
                multiline: 'below',
            },
        ],
        'vue/max-attributes-per-line': [
            'error',
            {
                singleline: 1,
                multiline: 1,
            },
        ],
        // override/add rules settings here, such as:
        //   'vue/no-unused-vars': 0,
        //   "vue/multi-word-component-names": 0,
        //   "vue/html-self-closing": 0,
        //   "no-unused-vars": 0,
        //   "@typescript-eslint/no-empty-function": 0,
        //   "no-useless-catch": 0,
        //   "@typescript-eslint/no-unused-vars": 0,
        //   "vue/no-unused-components": 0,
        //   "vue/require-explicit-emits": 0,
        //   "@typescript-eslint/no-this-alias": 0,
        //   "no-undef": 0
    },
}

@yogeshgalav yogeshgalav added the bug Something isn't working label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant