Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
feat: remove commitlint and node.js dependency
MikeWallaceDev943ce37623a7
diff --git a/commitlint.config.js b/commitlint.config.jsdeleted file mode 100644index c59a378e48..0000000000--- a/commitlint.config.js+++ /dev/null@@ -1,24 +0,0 @@-// module.exports = {extends: ['@commitlint/config-conventional']}-module.exports = {- rules: {- 'header-max-length': [2, 'always', 100],-- 'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'feature', 'fix', 'refactor', 'style', 'test']],- 'type-empty': [2, 'never'],- 'type-case': [2, 'always', 'lower-case'],-- 'subject-empty': [2, 'never'],- 'subject-case': [- 0,- 'never',- ['sentence-case', 'start-case', 'pascal-case', 'upper-case'],- ],-- 'body-leading-blank': [2, 'always'],- 'body-max-line-length': [2, 'always', 200],- 'body-case': [0, 'never', []],-- 'footer-leading-blank': [1, 'always'],- 'footer-max-line-length': [2, 'always', 100]- },-};diff --git a/frontend/Makefile.toml b/frontend/Makefile.tomlindex 7449bfeef3..337b9efd76 100644--- a/frontend/Makefile.toml+++ b/frontend/Makefile.toml@@ -8,7 +8,6 @@ extend = [{ path = "scripts/makefile/env.toml" },{ path = "scripts/makefile/flutter.toml" },{ path = "scripts/makefile/tool.toml" },- { path = "scripts/makefile/githooks.toml" },][config]diff --git a/frontend/scripts/makefile/githooks.toml b/frontend/scripts/makefile/githooks.tomldeleted file mode 100644index f6b066ec49..0000000000--- a/frontend/scripts/makefile/githooks.toml+++ /dev/null@@ -1,39 +0,0 @@-[tasks.install-commitlint.mac]-script = [- """- brew install npm- npm install @commitlint/cli @commitlint/config-conventional --save-dev-- git config core.hooksPath .githooks- """,-]-script_runner = "@shell"--[tasks.install-commitlint.windows]-script = [- """- echo "WIP"-- git config core.hooksPath .githooks- """,-]-script_runner = "@duckscript"--[tasks.install-commitlint.linux]-script = [- """- if command -v apt &> /dev/null- then- echo "Installing node.js (sudo apt install nodejs)"- sudo apt install nodejs- else- echo "Installing node.js (sudo pacman -S nodejs)"- sudo pacman -S nodejs- fi-- npm install @commitlint/cli @commitlint/config-conventional --save-dev-- git config core.hooksPath .githooks- """,-]-script_runner = "@shell"diff --git a/package.json b/package.jsondeleted file mode 100644index 0f6a7fcafe..0000000000--- a/package.json+++ /dev/null@@ -1,6 +0,0 @@-{- "devDependencies": {- "@commitlint/cli": "^16.1.0",- "@commitlint/config-conventional": "^16.0.0"- }-}