Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace lesshint with stylelint #7305

Merged
merged 1 commit into from
Jun 27, 2019
Merged

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Jun 26, 2019

New CSS linter which is much more powerful than the previous one. Configuration is default but I had to remove a few rules that were throwing too many or weird errors.

More importantly, the linter will exit non-zero on errors so now our build will fail if the CSS linter fails which should eliminate linter errors being introduced without notice.

I fixed all issues that came up, mostly duplicate selectors.

@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jun 26, 2019
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jun 26, 2019
@codecov-io
Copy link

codecov-io commented Jun 26, 2019

Codecov Report

Merging #7305 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7305      +/-   ##
==========================================
+ Coverage   41.23%   41.23%   +<.01%     
==========================================
  Files         464      464              
  Lines       62846    62846              
==========================================
+ Hits        25914    25915       +1     
  Misses      33542    33542              
+ Partials     3390     3389       -1
Impacted Files Coverage Δ
modules/log/event.go 64.61% <0%> (-1.03%) ⬇️
models/gpg_key.go 56.66% <0%> (+0.83%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da23041...ae20f73. Read the comment docs.

@lunny
Copy link
Member

lunny commented Jun 26, 2019

conflicted

New CSS linter which is much more powerfull than the previous one.
Configuration is default but I had to remove a few rules that were
throwing too many or weird errors.

More importantly, the linter will exit with code 1 on errors so now our
build will fail if the CSS linter fails which should eliminate linter
errors being introduced without notice.
@silverwind
Copy link
Member Author

rebased

@lunny lunny added the topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile label Jun 27, 2019
@jonasfranz jonasfranz merged commit c37ec66 into go-gitea:master Jun 27, 2019
@zeripath zeripath added this to the 1.9.0 milestone Jul 6, 2019
jeffliu27 pushed a commit to jeffliu27/gitea that referenced this pull request Jul 18, 2019
New CSS linter which is much more powerfull than the previous one.
Configuration is default but I had to remove a few rules that were
throwing too many or weird errors.

More importantly, the linter will exit with code 1 on errors so now our
build will fail if the CSS linter fails which should eliminate linter
errors being introduced without notice.
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants