Add shareable linter configs.

This commit is contained in:
Bauke 2023-04-09 12:34:14 +02:00
parent 849e443f4e
commit c853802b68
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
3 changed files with 968 additions and 11 deletions

View File

@ -1,9 +0,0 @@
{
"extends": [
"stylelint-config-standard-scss"
],
"rules": {
"no-descending-specificity": null,
"string-quotes": "single"
}
}

View File

@ -22,6 +22,9 @@
"webextension-polyfill": "^0.10.0" "webextension-polyfill": "^0.10.0"
}, },
"devDependencies": { "devDependencies": {
"@bauke/eslint-config": "^0.1.2",
"@bauke/prettier-config": "^0.1.2",
"@bauke/stylelint-config": "^0.1.2",
"@preact/preset-vite": "^2.5.0", "@preact/preset-vite": "^2.5.0",
"@types/babel__core": "^7.20.0", "@types/babel__core": "^7.20.0",
"@types/node": "^18.15.11", "@types/node": "^18.15.11",
@ -69,6 +72,10 @@
"html" "html"
] ]
}, },
"prettier": "@bauke/prettier-config",
"stylelint": {
"extends": "@bauke/stylelint-config"
},
"xo": { "xo": {
"overrides": [ "overrides": [
{ {
@ -78,6 +85,7 @@
} }
} }
], ],
"extends": "@bauke/eslint-config",
"prettier": true, "prettier": true,
"rules": { "rules": {
"@typescript-eslint/consistent-type-definitions": "off", "@typescript-eslint/consistent-type-definitions": "off",

File diff suppressed because it is too large Load Diff