chore(editorconfig): add trim_trailing_whitespace setting to enforce consistent whitespace handling

chore(eslintrc): add no-trailing-spaces rule to ESLint configuration for better code quality and consistency
This commit is contained in:
Hiroo Takizawa 2025-03-14 17:26:30 +09:00
parent 5e9e7c8dc3
commit 8b53e2548e
2 changed files with 6 additions and 4 deletions

View file

@ -8,3 +8,4 @@ insert_final_newline = true
indent_style = tab
indent_size = 4
tab_width = 4
trim_trailing_whitespace = true

View file

@ -9,7 +9,7 @@
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
],
"parserOptions": {
"sourceType": "module"
},
@ -18,6 +18,7 @@
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
"@typescript-eslint/ban-ts-comment": "off",
"no-prototype-builtins": "off",
"@typescript-eslint/no-empty-function": "off"
}
}
"@typescript-eslint/no-empty-function": "off",
"no-trailing-spaces": "error"
}
}