How to disable ESLint in vue-cli?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







24















How do I go about disabling ESlint in project generated with vue-cli?



preLoaders: [
{
test: /.vue$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
},
{
test: /.js$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
}
]


If I remove the loader: 'eslint' line it won't compile, same with setting it to an empty string. I know I can opt out of ESLint during the initialization phase, but how can I disable it after my project has been created?










share|improve this question

























  • Which template are you using? Simple webpack?

    – Himmet Avsar
    Aug 4 '16 at 1:31













  • full-featured Webpack

    – Mahmud Adam
    Aug 4 '16 at 1:36






  • 4





    Look at the {{#lint}} blocks in github.com/vuejs-templates/webpack/blob/… - can probably drop the entire preLoaders block?

    – ceejayoz
    Aug 4 '16 at 1:44











  • @HectorLorenzo Moved it.

    – ceejayoz
    Aug 4 '16 at 11:56


















24















How do I go about disabling ESlint in project generated with vue-cli?



preLoaders: [
{
test: /.vue$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
},
{
test: /.js$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
}
]


If I remove the loader: 'eslint' line it won't compile, same with setting it to an empty string. I know I can opt out of ESLint during the initialization phase, but how can I disable it after my project has been created?










share|improve this question

























  • Which template are you using? Simple webpack?

    – Himmet Avsar
    Aug 4 '16 at 1:31













  • full-featured Webpack

    – Mahmud Adam
    Aug 4 '16 at 1:36






  • 4





    Look at the {{#lint}} blocks in github.com/vuejs-templates/webpack/blob/… - can probably drop the entire preLoaders block?

    – ceejayoz
    Aug 4 '16 at 1:44











  • @HectorLorenzo Moved it.

    – ceejayoz
    Aug 4 '16 at 11:56














24












24








24


6






How do I go about disabling ESlint in project generated with vue-cli?



preLoaders: [
{
test: /.vue$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
},
{
test: /.js$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
}
]


If I remove the loader: 'eslint' line it won't compile, same with setting it to an empty string. I know I can opt out of ESLint during the initialization phase, but how can I disable it after my project has been created?










share|improve this question
















How do I go about disabling ESlint in project generated with vue-cli?



preLoaders: [
{
test: /.vue$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
},
{
test: /.js$/,
loader: 'eslint',
include: projectRoot,
exclude: /node_modules/
}
]


If I remove the loader: 'eslint' line it won't compile, same with setting it to an empty string. I know I can opt out of ESLint during the initialization phase, but how can I disable it after my project has been created?







javascript webpack vue.js vue-cli






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 24 '17 at 20:08









thanksd

25.5k127180




25.5k127180










asked Aug 4 '16 at 1:25









Mahmud AdamMahmud Adam

1,23131337




1,23131337













  • Which template are you using? Simple webpack?

    – Himmet Avsar
    Aug 4 '16 at 1:31













  • full-featured Webpack

    – Mahmud Adam
    Aug 4 '16 at 1:36






  • 4





    Look at the {{#lint}} blocks in github.com/vuejs-templates/webpack/blob/… - can probably drop the entire preLoaders block?

    – ceejayoz
    Aug 4 '16 at 1:44











  • @HectorLorenzo Moved it.

    – ceejayoz
    Aug 4 '16 at 11:56



















  • Which template are you using? Simple webpack?

    – Himmet Avsar
    Aug 4 '16 at 1:31













  • full-featured Webpack

    – Mahmud Adam
    Aug 4 '16 at 1:36






  • 4





    Look at the {{#lint}} blocks in github.com/vuejs-templates/webpack/blob/… - can probably drop the entire preLoaders block?

    – ceejayoz
    Aug 4 '16 at 1:44











  • @HectorLorenzo Moved it.

    – ceejayoz
    Aug 4 '16 at 11:56

















Which template are you using? Simple webpack?

– Himmet Avsar
Aug 4 '16 at 1:31







Which template are you using? Simple webpack?

– Himmet Avsar
Aug 4 '16 at 1:31















full-featured Webpack

– Mahmud Adam
Aug 4 '16 at 1:36





full-featured Webpack

– Mahmud Adam
Aug 4 '16 at 1:36




4




4





Look at the {{#lint}} blocks in github.com/vuejs-templates/webpack/blob/… - can probably drop the entire preLoaders block?

– ceejayoz
Aug 4 '16 at 1:44





Look at the {{#lint}} blocks in github.com/vuejs-templates/webpack/blob/… - can probably drop the entire preLoaders block?

– ceejayoz
Aug 4 '16 at 1:44













@HectorLorenzo Moved it.

– ceejayoz
Aug 4 '16 at 11:56





@HectorLorenzo Moved it.

– ceejayoz
Aug 4 '16 at 11:56












8 Answers
8






active

oldest

votes


















11














Vue's starter projects are themselves built with a templating language.



Looking at the templates (the {{#lint}} bits) it appears you can remove the entire preLoaders block.






share|improve this answer



















  • 12





    Also, a cheap fix in case OP wants to easily enable and disable it is to add paths to the .eslintignore file.

    – Bill Criswell
    Aug 4 '16 at 13:06













  • src/*.js didn't help to disable eslint for src file ... may be needed to take some extra steps? @BillCriswell

    – Asqan
    Feb 8 '17 at 15:46













  • Yup. Blocking out this part works.

    – Karl Pokus
    Mar 28 '17 at 15:24






  • 2





    @Asqan you might want to use src/**/*.js and src/**/*.vue to ignore files recursively

    – antoine
    Jun 28 '17 at 21:14





















18














As of the current version (^3.0?) you can just set:



useEslint: false,



in config/index.js






share|improve this answer
























  • Worked!I think for recent versions, this should be the acceptable answer.

    – dtechplus
    Feb 20 '18 at 9:59






  • 1





    This isn't working for me.

    – Wayne Smallman
    Nov 4 '18 at 10:53



















3














As of 2019, March :



In the vue.config.js :



module.exports = {
...
lintOnSave: false
...
}


Good Luck...






share|improve this answer
























  • copy of accepted answer. Does not contribute anything additional

    – Hybrid web dev
    Mar 29 at 2:42











  • Hi @Hybridwebdev, there is no mention of lintOnSave in the accepted answer. Why have you mentioned that it is a copy of the accepted answer?

    – Akash
    Mar 29 at 4:21





















1














There's a hell lot of solutions here:
https://github.com/vuejs-templates/webpack/issues/73



However the best one is :

To add a line of **/* to .eslintignore, which will ignore all files.
And then re-run, if it's a web app!






share|improve this answer

































    1














    In the latest version, open the ".eslintrc.js" file, and set "root: false".enter image description here






    share|improve this answer



















    • 2





      This isn't working for me.

      – Wayne Smallman
      Nov 4 '18 at 10:53



















    1














    Set
    useEslint: false, in config/index.js



    see this image






    share|improve this answer


























    • Add some description

      – Billa
      Jul 31 '18 at 5:25



















    0














    There are some out-of-date answers here.



    Because vue-cli 3 is using a zero configuration approach, the way to disable it is to just uninstall the module:



    npm remove @vue/cli-plugin-eslint





    share|improve this answer































      0














      Go inside file "tslint.json" and exclude all files in linterOptions. Default settings only excludes folder node_modules. You may also set "strict": false, inside tsconfig.json



        "linterOptions": {
      "exclude": [
      "*/**"
      ]
      },


      instead of



        "linterOptions": {
      "exclude": [
      "node_modules/**"
      ]
      },





      share|improve this answer


























        Your Answer






        StackExchange.ifUsing("editor", function () {
        StackExchange.using("externalEditor", function () {
        StackExchange.using("snippets", function () {
        StackExchange.snippets.init();
        });
        });
        }, "code-snippets");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "1"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f38757069%2fhow-to-disable-eslint-in-vue-cli%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        8 Answers
        8






        active

        oldest

        votes








        8 Answers
        8






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        11














        Vue's starter projects are themselves built with a templating language.



        Looking at the templates (the {{#lint}} bits) it appears you can remove the entire preLoaders block.






        share|improve this answer



















        • 12





          Also, a cheap fix in case OP wants to easily enable and disable it is to add paths to the .eslintignore file.

          – Bill Criswell
          Aug 4 '16 at 13:06













        • src/*.js didn't help to disable eslint for src file ... may be needed to take some extra steps? @BillCriswell

          – Asqan
          Feb 8 '17 at 15:46













        • Yup. Blocking out this part works.

          – Karl Pokus
          Mar 28 '17 at 15:24






        • 2





          @Asqan you might want to use src/**/*.js and src/**/*.vue to ignore files recursively

          – antoine
          Jun 28 '17 at 21:14


















        11














        Vue's starter projects are themselves built with a templating language.



        Looking at the templates (the {{#lint}} bits) it appears you can remove the entire preLoaders block.






        share|improve this answer



















        • 12





          Also, a cheap fix in case OP wants to easily enable and disable it is to add paths to the .eslintignore file.

          – Bill Criswell
          Aug 4 '16 at 13:06













        • src/*.js didn't help to disable eslint for src file ... may be needed to take some extra steps? @BillCriswell

          – Asqan
          Feb 8 '17 at 15:46













        • Yup. Blocking out this part works.

          – Karl Pokus
          Mar 28 '17 at 15:24






        • 2





          @Asqan you might want to use src/**/*.js and src/**/*.vue to ignore files recursively

          – antoine
          Jun 28 '17 at 21:14
















        11












        11








        11







        Vue's starter projects are themselves built with a templating language.



        Looking at the templates (the {{#lint}} bits) it appears you can remove the entire preLoaders block.






        share|improve this answer













        Vue's starter projects are themselves built with a templating language.



        Looking at the templates (the {{#lint}} bits) it appears you can remove the entire preLoaders block.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 4 '16 at 11:56









        ceejayozceejayoz

        144k34225311




        144k34225311








        • 12





          Also, a cheap fix in case OP wants to easily enable and disable it is to add paths to the .eslintignore file.

          – Bill Criswell
          Aug 4 '16 at 13:06













        • src/*.js didn't help to disable eslint for src file ... may be needed to take some extra steps? @BillCriswell

          – Asqan
          Feb 8 '17 at 15:46













        • Yup. Blocking out this part works.

          – Karl Pokus
          Mar 28 '17 at 15:24






        • 2





          @Asqan you might want to use src/**/*.js and src/**/*.vue to ignore files recursively

          – antoine
          Jun 28 '17 at 21:14
















        • 12





          Also, a cheap fix in case OP wants to easily enable and disable it is to add paths to the .eslintignore file.

          – Bill Criswell
          Aug 4 '16 at 13:06













        • src/*.js didn't help to disable eslint for src file ... may be needed to take some extra steps? @BillCriswell

          – Asqan
          Feb 8 '17 at 15:46













        • Yup. Blocking out this part works.

          – Karl Pokus
          Mar 28 '17 at 15:24






        • 2





          @Asqan you might want to use src/**/*.js and src/**/*.vue to ignore files recursively

          – antoine
          Jun 28 '17 at 21:14










        12




        12





        Also, a cheap fix in case OP wants to easily enable and disable it is to add paths to the .eslintignore file.

        – Bill Criswell
        Aug 4 '16 at 13:06







        Also, a cheap fix in case OP wants to easily enable and disable it is to add paths to the .eslintignore file.

        – Bill Criswell
        Aug 4 '16 at 13:06















        src/*.js didn't help to disable eslint for src file ... may be needed to take some extra steps? @BillCriswell

        – Asqan
        Feb 8 '17 at 15:46







        src/*.js didn't help to disable eslint for src file ... may be needed to take some extra steps? @BillCriswell

        – Asqan
        Feb 8 '17 at 15:46















        Yup. Blocking out this part works.

        – Karl Pokus
        Mar 28 '17 at 15:24





        Yup. Blocking out this part works.

        – Karl Pokus
        Mar 28 '17 at 15:24




        2




        2





        @Asqan you might want to use src/**/*.js and src/**/*.vue to ignore files recursively

        – antoine
        Jun 28 '17 at 21:14







        @Asqan you might want to use src/**/*.js and src/**/*.vue to ignore files recursively

        – antoine
        Jun 28 '17 at 21:14















        18














        As of the current version (^3.0?) you can just set:



        useEslint: false,



        in config/index.js






        share|improve this answer
























        • Worked!I think for recent versions, this should be the acceptable answer.

          – dtechplus
          Feb 20 '18 at 9:59






        • 1





          This isn't working for me.

          – Wayne Smallman
          Nov 4 '18 at 10:53
















        18














        As of the current version (^3.0?) you can just set:



        useEslint: false,



        in config/index.js






        share|improve this answer
























        • Worked!I think for recent versions, this should be the acceptable answer.

          – dtechplus
          Feb 20 '18 at 9:59






        • 1





          This isn't working for me.

          – Wayne Smallman
          Nov 4 '18 at 10:53














        18












        18








        18







        As of the current version (^3.0?) you can just set:



        useEslint: false,



        in config/index.js






        share|improve this answer













        As of the current version (^3.0?) you can just set:



        useEslint: false,



        in config/index.js







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 9 '18 at 18:52









        Eric GrotkeEric Grotke

        2,16411317




        2,16411317













        • Worked!I think for recent versions, this should be the acceptable answer.

          – dtechplus
          Feb 20 '18 at 9:59






        • 1





          This isn't working for me.

          – Wayne Smallman
          Nov 4 '18 at 10:53



















        • Worked!I think for recent versions, this should be the acceptable answer.

          – dtechplus
          Feb 20 '18 at 9:59






        • 1





          This isn't working for me.

          – Wayne Smallman
          Nov 4 '18 at 10:53

















        Worked!I think for recent versions, this should be the acceptable answer.

        – dtechplus
        Feb 20 '18 at 9:59





        Worked!I think for recent versions, this should be the acceptable answer.

        – dtechplus
        Feb 20 '18 at 9:59




        1




        1





        This isn't working for me.

        – Wayne Smallman
        Nov 4 '18 at 10:53





        This isn't working for me.

        – Wayne Smallman
        Nov 4 '18 at 10:53











        3














        As of 2019, March :



        In the vue.config.js :



        module.exports = {
        ...
        lintOnSave: false
        ...
        }


        Good Luck...






        share|improve this answer
























        • copy of accepted answer. Does not contribute anything additional

          – Hybrid web dev
          Mar 29 at 2:42











        • Hi @Hybridwebdev, there is no mention of lintOnSave in the accepted answer. Why have you mentioned that it is a copy of the accepted answer?

          – Akash
          Mar 29 at 4:21


















        3














        As of 2019, March :



        In the vue.config.js :



        module.exports = {
        ...
        lintOnSave: false
        ...
        }


        Good Luck...






        share|improve this answer
























        • copy of accepted answer. Does not contribute anything additional

          – Hybrid web dev
          Mar 29 at 2:42











        • Hi @Hybridwebdev, there is no mention of lintOnSave in the accepted answer. Why have you mentioned that it is a copy of the accepted answer?

          – Akash
          Mar 29 at 4:21
















        3












        3








        3







        As of 2019, March :



        In the vue.config.js :



        module.exports = {
        ...
        lintOnSave: false
        ...
        }


        Good Luck...






        share|improve this answer













        As of 2019, March :



        In the vue.config.js :



        module.exports = {
        ...
        lintOnSave: false
        ...
        }


        Good Luck...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 21 at 3:31









        AkashAkash

        6,75614241




        6,75614241













        • copy of accepted answer. Does not contribute anything additional

          – Hybrid web dev
          Mar 29 at 2:42











        • Hi @Hybridwebdev, there is no mention of lintOnSave in the accepted answer. Why have you mentioned that it is a copy of the accepted answer?

          – Akash
          Mar 29 at 4:21





















        • copy of accepted answer. Does not contribute anything additional

          – Hybrid web dev
          Mar 29 at 2:42











        • Hi @Hybridwebdev, there is no mention of lintOnSave in the accepted answer. Why have you mentioned that it is a copy of the accepted answer?

          – Akash
          Mar 29 at 4:21



















        copy of accepted answer. Does not contribute anything additional

        – Hybrid web dev
        Mar 29 at 2:42





        copy of accepted answer. Does not contribute anything additional

        – Hybrid web dev
        Mar 29 at 2:42













        Hi @Hybridwebdev, there is no mention of lintOnSave in the accepted answer. Why have you mentioned that it is a copy of the accepted answer?

        – Akash
        Mar 29 at 4:21







        Hi @Hybridwebdev, there is no mention of lintOnSave in the accepted answer. Why have you mentioned that it is a copy of the accepted answer?

        – Akash
        Mar 29 at 4:21













        1














        There's a hell lot of solutions here:
        https://github.com/vuejs-templates/webpack/issues/73



        However the best one is :

        To add a line of **/* to .eslintignore, which will ignore all files.
        And then re-run, if it's a web app!






        share|improve this answer






























          1














          There's a hell lot of solutions here:
          https://github.com/vuejs-templates/webpack/issues/73



          However the best one is :

          To add a line of **/* to .eslintignore, which will ignore all files.
          And then re-run, if it's a web app!






          share|improve this answer




























            1












            1








            1







            There's a hell lot of solutions here:
            https://github.com/vuejs-templates/webpack/issues/73



            However the best one is :

            To add a line of **/* to .eslintignore, which will ignore all files.
            And then re-run, if it's a web app!






            share|improve this answer















            There's a hell lot of solutions here:
            https://github.com/vuejs-templates/webpack/issues/73



            However the best one is :

            To add a line of **/* to .eslintignore, which will ignore all files.
            And then re-run, if it's a web app!







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 23 '18 at 7:47

























            answered Jul 23 '18 at 7:32









            reverie_ssreverie_ss

            508516




            508516























                1














                In the latest version, open the ".eslintrc.js" file, and set "root: false".enter image description here






                share|improve this answer



















                • 2





                  This isn't working for me.

                  – Wayne Smallman
                  Nov 4 '18 at 10:53
















                1














                In the latest version, open the ".eslintrc.js" file, and set "root: false".enter image description here






                share|improve this answer



















                • 2





                  This isn't working for me.

                  – Wayne Smallman
                  Nov 4 '18 at 10:53














                1












                1








                1







                In the latest version, open the ".eslintrc.js" file, and set "root: false".enter image description here






                share|improve this answer













                In the latest version, open the ".eslintrc.js" file, and set "root: false".enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 27 '18 at 11:08









                Felix JrFelix Jr

                795




                795








                • 2





                  This isn't working for me.

                  – Wayne Smallman
                  Nov 4 '18 at 10:53














                • 2





                  This isn't working for me.

                  – Wayne Smallman
                  Nov 4 '18 at 10:53








                2




                2





                This isn't working for me.

                – Wayne Smallman
                Nov 4 '18 at 10:53





                This isn't working for me.

                – Wayne Smallman
                Nov 4 '18 at 10:53











                1














                Set
                useEslint: false, in config/index.js



                see this image






                share|improve this answer


























                • Add some description

                  – Billa
                  Jul 31 '18 at 5:25
















                1














                Set
                useEslint: false, in config/index.js



                see this image






                share|improve this answer


























                • Add some description

                  – Billa
                  Jul 31 '18 at 5:25














                1












                1








                1







                Set
                useEslint: false, in config/index.js



                see this image






                share|improve this answer















                Set
                useEslint: false, in config/index.js



                see this image







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jul 31 '18 at 6:51









                Alien

                5,52331128




                5,52331128










                answered Jul 31 '18 at 5:03









                Santosh PSantosh P

                292




                292













                • Add some description

                  – Billa
                  Jul 31 '18 at 5:25



















                • Add some description

                  – Billa
                  Jul 31 '18 at 5:25

















                Add some description

                – Billa
                Jul 31 '18 at 5:25





                Add some description

                – Billa
                Jul 31 '18 at 5:25











                0














                There are some out-of-date answers here.



                Because vue-cli 3 is using a zero configuration approach, the way to disable it is to just uninstall the module:



                npm remove @vue/cli-plugin-eslint





                share|improve this answer




























                  0














                  There are some out-of-date answers here.



                  Because vue-cli 3 is using a zero configuration approach, the way to disable it is to just uninstall the module:



                  npm remove @vue/cli-plugin-eslint





                  share|improve this answer


























                    0












                    0








                    0







                    There are some out-of-date answers here.



                    Because vue-cli 3 is using a zero configuration approach, the way to disable it is to just uninstall the module:



                    npm remove @vue/cli-plugin-eslint





                    share|improve this answer













                    There are some out-of-date answers here.



                    Because vue-cli 3 is using a zero configuration approach, the way to disable it is to just uninstall the module:



                    npm remove @vue/cli-plugin-eslint






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 18 at 0:24









                    WossnameWossname

                    49526




                    49526























                        0














                        Go inside file "tslint.json" and exclude all files in linterOptions. Default settings only excludes folder node_modules. You may also set "strict": false, inside tsconfig.json



                          "linterOptions": {
                        "exclude": [
                        "*/**"
                        ]
                        },


                        instead of



                          "linterOptions": {
                        "exclude": [
                        "node_modules/**"
                        ]
                        },





                        share|improve this answer






























                          0














                          Go inside file "tslint.json" and exclude all files in linterOptions. Default settings only excludes folder node_modules. You may also set "strict": false, inside tsconfig.json



                            "linterOptions": {
                          "exclude": [
                          "*/**"
                          ]
                          },


                          instead of



                            "linterOptions": {
                          "exclude": [
                          "node_modules/**"
                          ]
                          },





                          share|improve this answer




























                            0












                            0








                            0







                            Go inside file "tslint.json" and exclude all files in linterOptions. Default settings only excludes folder node_modules. You may also set "strict": false, inside tsconfig.json



                              "linterOptions": {
                            "exclude": [
                            "*/**"
                            ]
                            },


                            instead of



                              "linterOptions": {
                            "exclude": [
                            "node_modules/**"
                            ]
                            },





                            share|improve this answer















                            Go inside file "tslint.json" and exclude all files in linterOptions. Default settings only excludes folder node_modules. You may also set "strict": false, inside tsconfig.json



                              "linterOptions": {
                            "exclude": [
                            "*/**"
                            ]
                            },


                            instead of



                              "linterOptions": {
                            "exclude": [
                            "node_modules/**"
                            ]
                            },






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Feb 21 at 13:22

























                            answered Feb 20 at 7:11









                            Panayiotis HiripisPanayiotis Hiripis

                            1294




                            1294






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Stack Overflow!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f38757069%2fhow-to-disable-eslint-in-vue-cli%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                這個網誌中的熱門文章

                                Tangent Lines Diagram Along Smooth Curve

                                Yusuf al-Mu'taman ibn Hud

                                Zucchini