Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Formatter and linter for more file types #522

Draft
wants to merge 10 commits into
base: staging
Choose a base branch
from
Draft

Conversation

bjrne
Copy link
Member

@bjrne bjrne commented May 20, 2020

Namely:

  • css
    -js
    -markdown
    -yaml
    All from the prettier formatter.

HTML support for django tags is really hard apparently, so this might only include indentation for html, and even that only if we're lucky.

bjrne added 10 commits May 19, 2020 17:46
As mentioned in [1], when prettier formats at least one file, it always prints the paths of
all changed files, regardless whether it changed them. They come in different shades of grey,
but in a light theme they are almost undistinguishable. Therefore, we have to decide if we want
to see the paths of all files, or none and just a hint of pre-commit that files were changed by
this hook. I will keep it this way for now, as `git diff` will also list the changes.

[1]: prettier/prettier#3525
@maltezacharias
Copy link
Collaborator

@bjrne How should we handle this atm? Should we

  • closethe PR?
  • review & merge?
  • do something else?

What state is this in?

@bjrne
Copy link
Member Author

bjrne commented Jun 30, 2020

Since curlylint is in Heavy Development i will Test it again and decide then. I will then take appropriate action.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants