aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
AgeCommit message (Collapse)Author
2022-07-28Add markdownlint (#20512)silverwind
Add `markdownlint` linter and fix issues. Config is based on the one from electron's repo with a few rules relaxed.
2021-04-15add well-known config for OIDC (#15355)techknowlogick
* add well-known config for OIDC * spacing per feedback * Update oidc_wellknown.tmpl * add id_token * Update oidc_wellknown.tmpl Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-04-10Enforce tab indentation in templates (#15289)silverwind
* Enforce tab indendation in templates This adds editorconfig-checker [1] to lint the template files so they conform the editorconfig files. I fixed all current identation issues using the fix mode of eclint [2] and some manual corrections. We can extend this linting to other files later, for now I'd like this PR to focus on HTML template files only. [1] https://github.com/editorconfig-checker/editorconfig-checker [2] https://github.com/jedmao/eclint * fix indendation Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-11-28Fix .editorconfig (#13735)silverwind
These whitespaces introduced in #13698 seem to break my editorconfig plugin in sublime text resulting in tab-indented files getting converted to spaces on save. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
2020-11-28Format files (#13698)6543
* align "make help" * format * untouch build/generate-svg.js * untouch .eslintrc * combine editorconfig's * rm editorconfig Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-08-25Reindent Less to 2-space (#12602)silverwind
Reindent and unify codebase to 2-space indentation.
2020-08-23Change tab width go,tmpl,html to 2 (#12572)silverwind
Make it easier to edit deeply nested code. I plan to convert Less to 2-space so that we have standardized indentation width in the codebase. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-06-28Use custom SVGs for commit signing lock icon (#12017)Cirno the Strongest
* Use custom SVGs for commit signing lock icon * missing spans * editorconfig * xmlns and remove aria-hidden Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-05-17Change tab width for .go files to 4 (#11455)silverwind
* Change tab width for .go files to 4 I thing 8-wide tabs are kind of archaic and inconsisten with template files which already use 4-wide. Also did some misc cleanups in the .editorconfig files. * add css Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-28move CSS build to webpack (#9983)silverwind
- added new 'make webpack' target - deprecated 'make js' and 'make css' - extend webpack config to load the less files - updated docs I had to rename the source file of `arc-green.less` to avoid generating a useless JS entrypoint via webpack-fix-style-only-entries which would not work with different source/destination filenames. I hear that there should be cleaner solutions possible once we upgrade to Webpack 5. Co-authored-by: zeripath <art27@cantab.net>
2019-12-05Ensure LF on checkouts and in editors (#9259)silverwind
This will ensure our repo is always checked out with LF line endings which should help Windows users who have line ending normalization enabled. Additionally, added the LF preference to .editorconfig.
2019-11-14modernize js and use babel (#8973)silverwind
* modernize js and use babel - add babel toolchain to transform modern JS to ES5 - extend eslint config for modern rules - fixes linting issues via `eslint --fix` and manual fixes * run 'make css' to satisfy CI * code style tweaks and set js indendation to 2 in .editorconfig * regenerate js
2019-02-11Add autoprefixer to css build (#6029)silverwind
* Add autoprefixer to css build * also use autoprefixer on theme files
2019-02-05UI: Repo header tweaks (#5945)silverwind
* UI: Repo header tweaks - Use basic buttons on the header buttons, matching gogs - Make 'Manage topic' text smaller, remove margin-left with no topics present - Move various inline styles to CSS - Use flexbox on header title and buttons * fix indentation * reverse media query wrapping * fix inconsisten whitespace
2017-06-15switch gitter to discord for drone. (#1971)Bo-Yi Wu
* switch gitter to discord for drone. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * add event Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * only notify build fail message. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-28Unified editorconfig accross all projectsThomas Boerger
2016-11-14.editorconfig: do not specify line endingAndrey Nering
That is annoying on Windows, since the editor will change the file if you just open it. Git will checking as LF anyway.
2016-11-08Go uses ident size 8 with tabs. Nothing else.Matthias Loibl
We are using gofmt to format our code. This will emit tabs. The standard is tabs which is 8 spaces.
2016-11-05Drop indent-size from Makefile sectionSandro Santilli
2016-11-05Use tabs in MakefilesSandro Santilli
2016-08-30#2018 able to sync now for mirrorsUnknwon
- Refactor code to use sync.UniqueQueue - Closes #3509
2016-08-29Update .editorconfig (#3534)Andrey Nering
[CI SKIP]
2015-03-13Added .editorconfigJames Cracknell