Noodles, Poodles and More!

    eslint-config-superology-vue-typescript

    1.1.7 • Public • Published

    eslint-config-superology-vue-typescript

    Shared ESLint config for Vue based projects at Superology using TypeScript.

    @superology/eslint-config-vue

    ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline.

    Usage

    Install the configuration

    npm install eslint-config-superology-vue-typescript --save-dev

    Also make sure you have peer dependencies installed:

    npm install eslint-config-superology-vue @rushstack/eslint-patch --save-dev

    IMPORTANT

    This plugin really requires eslint-config-superology-vue to work correctly and to apply full Superology linting rules.

    Add to ESLint configuration

    Using .eslintrc file:

    {
        "overrides": [
            // This override is only needed if your project actually has non-TypeScript files
            {
    
                "files": [
                    "*.js"
                ],
                "extends": [
                    "eslint-config-superology-vue"
                ]
            },
            {
                "files": [
                    "*.vue",
                    "*.tsx",
                    "*.ts"
                ],
                "extends": [
                    "eslint-config-superology-vue-typescript"
                ]
            }
        ]
    }

    Suggestions?

    Create a discussion on GitHub or learn how to make a contribution.

    Keywords

    none

    Install

    npm i eslint-config-superology-vue-typescript

    DownloadsWeekly Downloads

    96

    Version

    1.1.7

    License

    MIT

    Unpacked Size

    25.6 kB

    Total Files

    11

    Last publish

    Collaborators

    • momology