Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ jobs:
cd commonly-mcp
npm test

- name: Run CLI lint
run: |
cd cli
npm run lint

- name: Run CLI tests
run: |
cd cli
Expand Down
18 changes: 18 additions & 0 deletions cli/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: {
es2022: true,
node: true,
},
extends: ['eslint:recommended'],
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module',
},
rules: {
// CLI commands deliberately report progress and recovery guidance locally.
'no-console': 'off',
// Adapter contracts keep unused context parameters for a uniform shape.
'no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
},
};
Loading
Loading