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.

Use prettier-eslint And prettier-stylelint

See original GitHub issue

I set VSCode:

prettier.eslintIntegration: true
prettier.stylelintIntegration: true

Should I use NPM to install in my project? Or Prettier-VSCode has already include them?

npm install --save-dev prettier-eslint
npm install prettier-stylelint --save-dev

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kanlukaszcommented, Aug 15, 2019

I can’t configure that too and what is worst i can’t find good instructions 😕 I enable "prettier.stylelintIntegration": true, in VSCode settings.json but what now?

  1. Do i need to install the stylelint?
  2. From where should i take settings? from here? https://stylelint.io/user-guide/example-config
  3. Where should i put settings from stylelint?
  4. Can i put that in VSCode settings.json? (i would like to keep this settings globally, not only per project)

Can anyone help with this? or someone have any step by step guide maybe ?

1reaction
CiGitcommented, Feb 1, 2018

Maybe you must have to provide a stylelintrc file.

/cc @hugomrdias

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integrating with Linters - Prettier
First, we have plugins that let you run Prettier as if it was a linter rule: eslint-plugin-prettier · stylelint-prettier. These plugins were especially...
Read more >
How to integrate Prettier with ESLint and stylelint
Install prettier-eslint, which is a tool that formats your JavaScript using Prettier followed by eslint --fix . The --fix is an ESLint feature ......
Read more >
Stylelint plugin for Prettier formatting - GitHub
This plugin works best if you disable all other Stylelint rules relating to code formatting, and only enable rules that detect patterns in...
Read more >
Using ESLint, Prettier & Stylelint for front-end code - Aiimi
Prettier : Prettier is an 'opinionated code formatter' that supports a wide range of languages and formats them according to a set of...
Read more >
Prettier vs Stylelint | What are the differences? - StackShare
while eslint and stylelint are used to notify you about code quality issues, to guide you to write better code, prettier automatically handles...
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