Linting configs (PHPCS, ESLint, Stylelint), Forgejo CI pipeline, WordPress health check, PHP linter, strain migration tool, and Docker local dev environment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
757 B
JSON
30 lines
757 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"jquery": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"globals": {
|
|
"wp": "readonly",
|
|
"ajaxurl": "readonly",
|
|
"weedopsData": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-console": "warn",
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
|
"prefer-const": "error",
|
|
"no-var": "error",
|
|
"eqeqeq": ["error", "always"],
|
|
"curly": ["error", "all"],
|
|
"indent": ["error", "tab"],
|
|
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
|
|
"semi": ["error", "always"]
|
|
}
|
|
}
|