chore(lint): enforce 2-space indent & add gpg pre-commit hook
This commit is contained in:
@@ -1 +1,11 @@
|
||||
# Check if GPG signing is enabled
|
||||
gpg_sign=$(git config --get commit.gpgsign || echo "false")
|
||||
|
||||
if [ "$gpg_sign" != "true" ]; then
|
||||
echo "Error: GPG signing is not enabled or properly configured!"
|
||||
echo "Please enable it globally using: git config --global commit.gpgsign true"
|
||||
echo "Or locally by running: git config commit.gpgsign true"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
npm run lint
|
||||
|
||||
@@ -33,6 +33,7 @@ export default [
|
||||
'no-unused-vars': 'off',
|
||||
'no-undef': 'off',
|
||||
'no-debugger': 'off',
|
||||
'indent': ['error', 2]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -212,6 +212,12 @@ body {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
::placeholder {
|
||||
color: var(--text-muted);
|
||||
opacity: 1;
|
||||
/* Override Firefox default opacity */
|
||||
}
|
||||
|
||||
.tool-textarea {
|
||||
font-family: monospace;
|
||||
resize: none;
|
||||
|
||||
Reference in New Issue
Block a user