- Issue created by @danielveza
- Merge request !44Draft: #3452828 - Add more prettier rules and fix issues raised from this โ (Closed) created by danielveza
- Status changed to Postponed
6 months ago 2:09pm 7 June 2024 - ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Wim Leers โ credited larowlan โ .
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Thanks, @DanielVeza! Excited to see you here! ๐
Per @larowlan, we should first land ๐ Add eslint and type checking to CI jobs Needs work to avoid the need to redo this in the future.
- Status changed to Needs work
6 months ago 9:11am 14 June 2024 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
๐ Add eslint and type checking to CI jobs Needs work is in, meaning this is now unblocked!
- ๐ฎ๐ณIndia mithun s Bangalore
Mithun S โ made their first commit to this issueโs fork.
- First commit to issue fork.
- Status changed to Needs review
5 months ago 1:42pm 3 July 2024 - ๐ท๐ธSerbia finnsky
I've found MR contains some unexpected changes.
Like src/App.tsxAlso lint:fix show failures.
- Status changed to Needs work
5 months ago 4:54pm 3 July 2024 - ๐ท๐ธSerbia finnsky
I also see existing `"format": "prettier --write .",` task in package.json
Should we keep it?
- ๐ท๐ธSerbia finnsky
finnsky โ changed the visibility of the branch 3452828-prettier to hidden.
- Merge request !78Update eslint prettier configuration For ts - #3452828 โ (Closed) created by finnsky
- Status changed to Needs review
5 months ago 5:22pm 3 July 2024 - ๐ท๐ธSerbia finnsky
I've created new PR.
- It should only affect js changes.
- We need to create follow up issue for stylelint and yaml etc. Because current `npm run format` still fixes public and MD and CSS files. - First commit to issue fork.
- Status changed to Needs work
5 months ago 9:32pm 3 July 2024 - ๐บ๐ธUnited States bnjmnm Ann Arbor, MI
There were some pipeline failures that I was looking into only to re-run the tests and they were fine. In each case it was because the project directory could not be found, something that would not be caused by changes in either of the merge requests.
While I'm partial to the @finnsky MR #78 because it only changes the JS, the
npm run format
command still runs on non-js files. This means someone wanting to useformat
will have files changed that they haven't even edited. We should either include all file types or limit the types changed byformat
- ๐ท๐ธSerbia finnsky
I have weird deja vu :)
https://www.drupal.org/project/drupal/issues/3409048#comment-15525622 ๐ Configure postcss formatting after stylelint and stylelint-config-standard update Fixed
Linter issues aren't rebase friendly.I will reapply changes in new 0.x based branch and let's create followup for CSS and MD
- ๐ท๐ธSerbia finnsky
finnsky โ changed the visibility of the branch 3452828-eslint-prettier to hidden.
- Status changed to Needs review
5 months ago 5:28pm 10 July 2024 - Assigned to wim leers
- Issue was unassigned.
- Status changed to Needs work
5 months ago 4:32pm 11 July 2024 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
- ๐ท๐ธSerbia finnsky
Removed format for now. We need to configure linter + prettier for css and other files.
- Status changed to Needs review
5 months ago 6:00pm 11 July 2024 - Assigned to bnjmnm
- Merge request !1243452828 Prettier format only hits JS and eslint enforces it. โ (Merged) created by bnjmnm
- Assigned to hooroomoo
- ๐บ๐ธUnited States bnjmnm Ann Arbor, MI
Removed format for now
Not sure that's a good idea either - if GitlabCI + eslint is enforcing prettier formatting, we shouldn't require contributors to fix all of those things manually when a formatter is right there I think it's best to go with my suggestion in #18 and have the formatter only act on JS files for the time being, while also configuring ESLint to enforce prettier formatting. That's what I have in the
<a href="https://git.drupalcode.org/project/experience_builder/-/merge_requests/124#note_349548">3452828-js-only-eslint-with-format </a>
MR -
bnjmnm โ
committed 9540e1ee on 0.x
Issue #3452828 by finnsky, bnjmnm, Gauravvvv, DanielVeza, larowlan,...
-
bnjmnm โ
committed 9540e1ee on 0.x
- Issue was unassigned.
- Status changed to Fixed
4 months ago 5:01pm 29 July 2024 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
OMG YES! So glad this is in! ๐๐
Automatically closed - issue fixed for 2 weeks with no activity.