Skip to content

Commit b9e14cc

Browse files
committed
fix: resolve lint issues
1 parent 6b0cc0c commit b9e14cc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

eslint.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ export default [
2727
'security/detect-pseudoRandomBytes': 'error',
2828
'space-before-function-paren': 'off',
2929
'object-curly-spacing': 'off',
30+
'n/no-missing-import': ['error', {
31+
allowModules: ['@modelcontextprotocol/sdk'],
32+
resolvePaths: ['/path/to/a/modules/directory']
33+
}]
3034
},
3135
languageOptions: {
3236
ecmaVersion: 2024,

src/bin/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { debuglog } from 'node:util'
2-
import { startServer } from 'src/main.ts'
2+
import { startServer } from '../main.ts'
33
const debug = debuglog('mcp-server-nodejs-api-docs')
44

55
debug('Starting Server...')

src/services/docs-formatter-service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ interface FormattingOptions {
3333
* Service responsible for formatting Node.js API documentation into readable markdown content
3434
*/
3535
export class DocsFormatter {
36-
constructor () {
37-
// Initialize any needed properties here
38-
}
39-
4036
/**
4137
* Formats content by adding extra newlines for better markdown rendering
4238
*/

0 commit comments

Comments
 (0)