summaryrefslogtreecommitdiffstats
path: root/.stylelintrc
Commit message (Collapse)AuthorAgeFilesLines
* File header tweaks, add CSS helpers (#12635)silverwind2020-09-081-0/+1
| | | | | | | | | - replace two instances of fontawesome with octicons - add new "class" optional argument to "svg" helper - add many new CSS helpers and move their import to the end for increaseed precedence Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Reindent Less to 2-space (#12602)silverwind2020-08-251-1/+1
| | | Reindent and unify codebase to 2-space indentation.
* Render the git graph on the server (#12333)zeripath2020-08-061-3/+0
| | | | | | | | | | | | | Rendering the git graph on the server means that we can properly track flows and switch from the Canvas implementation to a SVG implementation. * This implementation provides a 16 limited color selection * The uniqued color numbers are also provided * And there is also a monochrome version *In addition is a hover highlight that allows users to highlight commits on the same flow. Closes #12209 Signed-off-by: Andrew Thornton art27@cantab.net Co-authored-by: silverwind <me@silverwind.io>
* Enable stylelint's shorthand-property-no-redundant-values (#11436)silverwind2020-05-201-0/+1
| | | | | Enabled the rule and --fix'ed issues. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Disallow leading zeroes in Less (#10407)silverwind2020-02-231-0/+1
|
* Reorganize frontend files and tooling (#10168)silverwind2020-02-071-0/+4
| | | | | | | | | | | | - move "vendor" files to js/vendor and less/vendor - move swagger to js/standalone (meant for standalone pages) - move gitgraph to features and streamline its loading - add linting configs to webpack dependencies in make - set ignored files for eslint/stylelint directly in their configs Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
* replace lesshint with stylelint (#7305)silverwind2019-06-271-0/+11
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.