Commit graph

8 commits

Author SHA1 Message Date
LitoMore bf69b6dee0
Add XO linter (#10643) 2024-03-24 18:38:18 +01:00
Álvaro Mondéjar df0be49be7
Run Renovate through GitHub action (#10621) 2024-03-14 10:15:07 +08:00
renovate[bot] 7ffcc9695f
Update all dependencies (#7442)
* Update all dependencies

* Update create-release.yml

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-26 11:38:46 +02:00
Álvaro Mondéjar d5d29b0fda
Disable automatic digest dependecy updates of Renovate 2022-05-26 11:33:20 +02:00
Eric Cornelissen e0df400494
Setup prettier (#6758)
* Add prettier as a dependency

* Add format command and configure prettier

I opted for single quotes to be in line with other simple-icons projects

I ignore the data file because changing its formatting is quite a bit of
trouble for all open PRs.

* Run prettier

* Replace all functions by arrow functions

* Move prettier configuration to config file

Move it to a file so editors (and other software) can pick up on the
configuration. I went with .js because (a) it allows for comments and
(2) it seems most of the config files are in JavaScript already.

* Add prettier --check when running npm run lint (This adds it to the CI as well)

* Add husky and format changes before committing

* Use object destructuring for imports consistently

* Add shebang and fileoverview to jsonlint.js
2021-10-25 21:13:10 +02:00
Álvaro Mondéjar be696a0766
Disable Renovate dependency dashboard (#6441) 2021-08-30 18:26:36 +02:00
LitoMore 8283daf05a
Drop package-lock.json (#6179)
* Drop `package-lock.json`

* Drop lockfile related code

* Drop lockfile maintenance configurations
2021-08-23 19:21:03 +02:00
renovate[bot] 2340094188 Configure Renovate (#1633)
* Add renovate.json

* Move Renovate Bot configuration to .github directory

This is allowed according to the documentation[1] and makes more sense 
in my opinion as it is something that is relevant exclusively on GitHub.

--
1. https://docs.renovatebot.com/configuration-options/

* Specify labels to be used by PRs from Renovate Bot

as per: https://docs.renovatebot.com/configuration-options/#labels

* Schedule Renovate Bot to run once a month

as per 
https://docs.renovatebot.com/presets-config/#configsemverallmonthly

* Separate lockFileMaintenance configuration

based on 
https://docs.renovatebot.com/presets-default/#maintainlockfilesmonthly

* Refine schedule to bi-weekly

* Refactor the Renovate Bot configuration file

* Convert the Renovate bot configuration file to the JSON5 format

Which is allowed as per [1], for details see [2].

Specifically utilizing the fact that keys don't need qoutes, trailing 
commas (,) are allowed, and comments can be used.

--
1. https://docs.renovatebot.com/configuration-options/
2. https://json5.org/

* Remove explicit commitMessageAction from Renovate configuration
2019-09-27 10:19:06 +03:00