aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
Commit message (Collapse)AuthorAgeFilesLines
* Fix .editorconfig (#13735)silverwind2020-11-281-1/+1
| | | | | | | | 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>
* Format files (#13698)65432020-11-281-1/+1
| | | | | | | | | | | | | | | | * 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>
* Reindent Less to 2-space (#12602)silverwind2020-08-251-14/+8
| | | Reindent and unify codebase to 2-space indentation.
* Change tab width go,tmpl,html to 2 (#12572)silverwind2020-08-231-1/+1
| | | | | | 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>
* Use custom SVGs for commit signing lock icon (#12017)Cirno the Strongest2020-06-281-0/+3
| | | | | | | | | | | | * 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>
* Change tab width for .go files to 4 (#11455)silverwind2020-05-171-12/+3
| | | | | | | | | | | | * 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>
* move CSS build to webpack (#9983)silverwind2020-01-281-0/+3
| | | | | | | | | | | | | | - 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>
* Ensure LF on checkouts and in editors (#9259)silverwind2019-12-051-0/+1
| | | | | | | 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.
* modernize js and use babel (#8973)silverwind2019-11-141-1/+1
| | | | | | | | | | | | | | * 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
* Add autoprefixer to css build (#6029)silverwind2019-02-111-2/+1
| | | | | | * Add autoprefixer to css build * also use autoprefixer on theme files
* UI: Repo header tweaks (#5945)silverwind2019-02-051-1/+1
| | | | | | | | | | | | | | | | * 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
* switch gitter to discord for drone. (#1971)Bo-Yi Wu2017-06-151-1/+5
| | | | | | | | | | | | | | * 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>
* Unified editorconfig accross all projectsThomas Boerger2016-11-281-6/+6
|
* .editorconfig: do not specify line endingAndrey Nering2016-11-141-1/+0
| | | | | That is annoying on Windows, since the editor will change the file if you just open it. Git will checking as LF anyway.
* Go uses ident size 8 with tabs. Nothing else.Matthias Loibl2016-11-081-1/+1
| | | | | We are using gofmt to format our code. This will emit tabs. The standard is tabs which is 8 spaces.
* Drop indent-size from Makefile sectionSandro Santilli2016-11-051-1/+0
|
* Use tabs in MakefilesSandro Santilli2016-11-051-0/+4
|
* #2018 able to sync now for mirrorsUnknwon2016-08-301-1/+5
| | | | | - Refactor code to use sync.UniqueQueue - Closes #3509
* Update .editorconfig (#3534)Andrey Nering2016-08-291-1/+10
| | | [CI SKIP]
* Added .editorconfigJames Cracknell2015-03-131-0/+12