mcp-backlog-md
Version:
An MCP (Model Context Protocol) server for the backlog.md CLI tool.
45 lines (41 loc) • 1.09 kB
JavaScript
import { FlatCompat } from '@eslint/eslintrc';
import importPlugin from 'eslint-plugin-import';
import globals from 'globals';
import path from 'path';
import { fileURLToPath } from 'url';
// mimic CommonJS variables -- not needed if using CommonJS
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
});
export default [
...compat.extends('plugin:@typescript-eslint/recommended'),
{
plugins: {
import: importPlugin,
},
languageOptions: {
globals: {
...globals.node,
},
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
},
rules: {
// 'import/order': [
// 'error',
// {
// groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
// 'newlines-between': 'always',
// alphabetize: {
// order: 'asc',
// caseInsensitive: true,
// },
// },
// ],
},
},
];