policies: add standard policy files, linting, formatting

- Add .editorconfig, .eslintrc.json, .prettierrc, .prettierignore, .dockerignore, .gitignore
- Add Makefile with lint, fmt, fmt-check, secret-scan, test (skip) targets
- Add package.json with eslint@^8.56.0, eslint-plugin-security, prettier
- Add tools/secret-scan.sh
- Fix unused variable (fs -> _fs)
- Auto-format with prettier
- make check passes clean (0 errors, 11 warnings)
This commit is contained in:
sol
2026-03-01 07:26:28 +00:00
parent a0acc38fa6
commit c0dea6c12a
13 changed files with 1525 additions and 74 deletions

11
package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "mattermost-openclaw-livestatus",
"version": "1.0.0",
"private": true,
"description": "OpenClaw Live Status Tool for Mattermost",
"devDependencies": {
"eslint": "^8.56.0",
"eslint-plugin-security": "^2.1.0",
"prettier": "^3.2.0"
}
}