feat(astal): add dev tools
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-24 12:46:28 -04:00
parent 08eb823202
commit 191ed2efaa
6 changed files with 21 additions and 3 deletions

1
modules/ags/astal/.envrc Normal file
View file

@ -0,0 +1 @@
use flake ../../..#ags

View file

@ -0,0 +1 @@
../config/.eslintrc.json

View file

@ -0,0 +1 @@
../config/.stylelintrc.yml

Binary file not shown.

View file

@ -1,5 +1,19 @@
{ {
"main": "config.js",
"dependencies": {
"fzf": "^0.5.2"
},
"devDependencies": { "devDependencies": {
"@girs/adw-1": "^1.4.3-3.2.9" "@girs/adw-1": "^1.4.3-3.2.9",
"@girs/cairo-1.0": "^1.0.0-3.2.7",
"@girs/gjs": "^3.2.7",
"@girs/gtk-4.0": "^4.12.0-3.2.8",
"@girs/gvc-1.0": "^1.0.0-3.1.0",
"@girs/nm-1.0": "^1.43.1-3.1.0",
"@stylistic/eslint-plugin": "^1.4.0",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"eslint": "^8.52.0",
"stylelint-config-standard-scss": "^11.0.0"
} }
} }

View file

@ -43,7 +43,8 @@
"no-loop-func": ["error"], "no-loop-func": ["error"],
"no-magic-numbers": ["error", { "no-magic-numbers": ["error", {
"ignore": [-1, 0.1, 0, 1, 2, 3, 10, 33, 66, 100, 255, 360, 450, 1000], "ignore": [-1, 0.1, 0, 1, 2, 3, 10, 33, 66, 100, 255, 360, 450, 1000],
"ignoreDefaultValues": true "ignoreDefaultValues": true,
"ignoreArrayIndexes": true
}], }],
"no-multi-assign": ["error"], "no-multi-assign": ["error"],
"no-new": ["error"], "no-new": ["error"],
@ -94,7 +95,7 @@
"@stylistic/linebreak-style": ["error", "unix"], "@stylistic/linebreak-style": ["error", "unix"],
"@stylistic/lines-between-class-members": ["warn", "always", { "exceptAfterSingleLine": true }], "@stylistic/lines-between-class-members": ["warn", "always", { "exceptAfterSingleLine": true }],
"@stylistic/max-len": ["warn", { "@stylistic/max-len": ["warn", {
"code": 80, "code": 100,
"ignoreComments": true, "ignoreComments": true,
"ignoreTrailingComments": true, "ignoreTrailingComments": true,
"ignoreUrls": true "ignoreUrls": true