feat: add qmk lint

main
sudo pacman -Syu 2023-07-21 16:15:46 +07:00
parent d3109f785c
commit 94d94cda9c
5 changed files with 35 additions and 3 deletions

View File

@ -15,6 +15,8 @@ dztech_dz60rgb_wkl:
# Copy # Copy
rm -rf ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/haunt98 rm -rf ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/haunt98
cp -rf dztech_dz60rgb_wkl/keymaps/haunt98 ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/ cp -rf dztech_dz60rgb_wkl/keymaps/haunt98 ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/
# Lint
qmk lint -kb dztech/dz60rgb_wkl/v2_1 -km haunt98
# Compile # Compile
qmk compile -j 8 -kb dztech/dz60rgb_wkl/v2_1 -km haunt98 qmk compile -j 8 -kb dztech/dz60rgb_wkl/v2_1 -km haunt98
# JSON # JSON

View File

@ -75,3 +75,4 @@ Build/Optimize
- [x] How to flash - [x] How to flash
- [x] Add stock firmware/docs - [x] Add stock firmware/docs
- [x] Add qmk lint

View File

@ -1,3 +1,19 @@
/* Copyright 2023 haunt98
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// VIA // VIA
#define DYNAMIC_KEYMAP_LAYER_COUNT 3 #define DYNAMIC_KEYMAP_LAYER_COUNT 3

View File

@ -1,3 +0,0 @@
{
"debounce": 5
}

View File

@ -1,3 +1,19 @@
/* Copyright 2023 haunt98
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {