question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

flag to disable warnings (or scss warnings only)

See original GitHub issue

Hello!

What do you think about to add a flag to disable all warnings?

Or, for example, a flag to disable only scss warnings (from scss-compiler.js)?

I use webpack aliases in my components and during npm run test of my project I see to many logs like this.: CSS is not fully supported by vue-jest, so some features will throw errors. Webpack aliases are a common cause of errors.

I’ve create the following example project: https://github.com/ilyaztsv/vue-jest-warnings

Steps to reproduce:

npm i
npm run test 2>&1 | grep 'SCSS is not fully supported'

Screenshot to view issue

screen shot 2018-03-26 at 15 40 25

The example project also related to #69 issue.

If the suggestion suits you then I can create a PR.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
iztsvcommented, Apr 25, 2018

As I can see the issue of SCSS is not fully supported by vue-jest, so some features will throw errors. Webpack aliases are a common cause of errors. is resolver in v.2.5.0 (8f1ff0b)

Thanks!

1reaction
eddyerburghcommented, Apr 9, 2018

I’ve published a flag hideStyleWarn in 2.4.0.

  // package.json
  {
    "jest": {
      "globals": {
        "vue-jest": {
          "hideStyleWarn": true
        }
      }
    }
  }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable CSS/SASS/SCSS warning in Visual Studio 2019
in Tools > options > text editor > scss > advanced: there is a section called "validation" , set "enable validation" to false....
Read more >
Warning Options (Using the GNU Compiler Collection (GCC))
3.8 Options to Request or Suppress Warnings. Warnings are diagnostic messages that report constructions that are not inherently erroneous but that are risky ......
Read more >
Options - Stylelint
CLI flag: --fix. Automatically fix, where possible, problems reported by rules. For CSS with standard syntax, Stylelint uses postcss-safe-parser to fix ...
Read more >
sass-loader - webpack - JS.ORG
The presented code will throw webpack warning instead logging. To ignore unnecessary warnings you can use the ignoreWarnings option. webpack.config.js module.
Read more >
Attackers can hide 'external sender' email warnings with ...
By appending just a few lines of HTML and CSS code, researcher Louis Dion-Marcil showed how an external sender could hide the very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found