No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Quasar v0.17.4 & CLI v0.17.5 are out!

    Announcements
    2
    10
    1654
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rstoenescu
      rstoenescu Admin last edited by

      Enjoy!

      CLI

      • One important fix, sidestepping a Webpack issue: Build error on some Linux machines #154

      Quasar

      • Fix: [Bug] - QScrollObservable - debounce not working with QSrollArea? #2341
      1 Reply Last reply Reply Quote 2
      • Hawkeye64
        Hawkeye64 last edited by

        Has this warning been fixed:

         app:dev Running: Mode [ SPA ] with [ MAT ] theme +0ms
        
         app:quasar-conf Reading quasar.conf.js +889ms
         app:dev Checking listening address availability (0.0.0.0:3020)... +3ms
         app:quasar-conf Generating Webpack config +4ms
         app:quasar-conf Extending Webpack config +22ms
         app:generator Generating Webpack entry point +3ms
         app:dev-server Booting up... +3ms
        
         [====                ] 20% (building modules)(node:12227) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")
        Build completed in 21.43s
        

        Btw, great job!

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          @Hawkeye64 That error comes from your /.eslintrc.js file. Quasar init a new project and see how it should look like then make the adjustments to your current project.

          1 Reply Last reply Reply Quote 0
          • Hawkeye64
            Hawkeye64 last edited by

            Thanks for the info!

            1 Reply Last reply Reply Quote 0
            • Hawkeye64
              Hawkeye64 last edited by

              @rstoenescu I did just that and my current eslintrc.js looks exactly like the one generated. 😞

              1 Reply Last reply Reply Quote 0
              • Hawkeye64
                Hawkeye64 last edited by

                my quasar cli is 0.16.4

                1 Reply Last reply Reply Quote 0
                • rstoenescu
                  rstoenescu Admin last edited by

                  @Hawkeye64 what setup are you using? Standard or Airbnb? By the error msg you seem to have Standard. Can you copy-paste your eslintrc file here pls?

                  1 Reply Last reply Reply Quote 0
                  • Hawkeye64
                    Hawkeye64 last edited by

                    Standard

                    module.exports = {
                      root: true,
                      parserOptions: {
                        parser: 'babel-eslint',
                        sourceType: 'module'
                      },
                      env: {
                        browser: true
                      },
                      extends: [
                        // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
                        // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
                        'plugin:vue/essential',
                        // https://github.com/standard/standard/blob/master/docs/RULES-en.md
                        'standard'
                      ],
                      // required to lint *.vue files
                      plugins: [
                        'vue',
                        'standard'
                      ],
                      globals: {
                        'ga': true, // Google Analytics
                        'cordova': true,
                        '__statics': true
                      },
                      // add your custom rules here
                      'rules': {
                        // allow async-await
                        'generator-star-spacing': 'off',
                    
                        // allow paren-less arrow functions
                        'arrow-parens': 0,
                        'one-var': 0,
                    
                        'import/first': 0,
                        'import/named': 2,
                        'import/namespace': 2,
                        'import/default': 2,
                        'import/export': 2,
                        'import/extensions': 0,
                        'import/no-unresolved': 0,
                        'import/no-extraneous-dependencies': 0,
                    
                        'brace-style': [2, 'stroustrup', { 'allowSingleLine': false }],
                    
                        // allow debugger during development
                        'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
                      }
                    }
                    
                    1 Reply Last reply Reply Quote 0
                    • rstoenescu
                      rstoenescu Admin last edited by

                      @Hawkeye64 Have you upgraded eslint & co to newer versions? They can be upgraded to at least one major version – which introduces breaking changes. As ESlint & co. are project specific and NOT part of Quasar CLI, if you upgrade them it’s your duty to make the necessary changes to your .eslintrc.js too – whatever the new version with breaking changes requires.

                      1 Reply Last reply Reply Quote 0
                      • Hawkeye64
                        Hawkeye64 last edited by

                        Thanks! I’ll look into it. I’m only getting this on my Quasar project. I have 8 services on the Node backend that are also set up this way and they don’t exhibit this error so I kind of figured it was a Quasar issue. Time to roll up my sleeves. 🙂

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post