-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
50 lines (49 loc) · 1.45 KB
/
Copy patheslint.config.mjs
File metadata and controls
50 lines (49 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import js from '@eslint/js';
import globals from 'globals';
/** @type {import('eslint').Linter.Config[]} */
export default [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
...globals.node,
...globals.es2021
}
},
rules: {
'no-console': 'off',
'no-unused-vars': 'warn',
'semi': ['error', 'always'],
'quotes': ['error', 'single']
}
},
{
ignores: [
'**/node_modules/',
'**/dist/',
'coverage/',
'.gemini/',
// Donor/upstream repos (gitignored, never shipped) — not MindForge's lint posture.
'ECC/',
'awesome-claude-code-subagents/',
'.serena/',
// Dynamic-workflow scripts are a DSL body for the Claude Code Workflow
// tool's own
// loader (bare top-level `return`, ambient
// `agent`/`phase`/`log`/`args`/`budget`
// bindings) — not standalone Node/ESM modules. No standard sourceType
// parses both
// `export const meta` (needs 'module') and a top-level `return` (needs
// 'commonjs')
// at once, so this is a real, unavoidable grammar mismatch, not
// laxness. Validity is
// enforced instead by tests/workflow-registry.test.js (meta export,
// tier, phases,
// filename-matched name) and by actually executing them via the
// Workflow tool.
'.mindforge/dynamic-workflows/scripts/'
]
}
];