Merge pull request #567 from open-gsd/claude/dreamy-williams-d12a18
This commit is contained in:
@@ -3,8 +3,7 @@ import tseslint from 'typescript-eslint';
|
|||||||
import globals from 'globals';
|
import globals from 'globals';
|
||||||
import pluginN from 'eslint-plugin-n';
|
import pluginN from 'eslint-plugin-n';
|
||||||
import noOnlyTests from 'eslint-plugin-no-only-tests';
|
import noOnlyTests from 'eslint-plugin-no-only-tests';
|
||||||
import { existsSync } from 'fs';
|
import { dirname } from 'path';
|
||||||
import { join, dirname } from 'path';
|
|
||||||
import { fileURLToPath } from 'url';
|
import { fileURLToPath } from 'url';
|
||||||
|
|
||||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||||
@@ -22,15 +21,12 @@ const localPlugin = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const sdkSrcExists = existsSync(join(__dirname, 'sdk', 'src'));
|
|
||||||
|
|
||||||
export default tseslint.config(
|
export default tseslint.config(
|
||||||
// ── Global ignores ─────────────────────────────────────────────────────────
|
// ── Global ignores ─────────────────────────────────────────────────────────
|
||||||
{
|
{
|
||||||
ignores: [
|
ignores: [
|
||||||
'node_modules/**',
|
'node_modules/**',
|
||||||
'**/dist/**',
|
'**/dist/**',
|
||||||
'sdk/dist/**',
|
|
||||||
'.worktrees/**',
|
'.worktrees/**',
|
||||||
'.claude/**',
|
'.claude/**',
|
||||||
'coverage/**',
|
'coverage/**',
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
// Generated files that must NEVER be mutated
|
// Generated files that must NEVER be mutated
|
||||||
const GENERATED_FILES = [
|
const GENERATED_FILES = [
|
||||||
'!get-shit-done/bin/lib/configuration.cjs', // GENERATED — sdk/src/config/index.ts
|
|
||||||
'!get-shit-done/bin/lib/command-aliases.cjs', // GENERATED
|
'!get-shit-done/bin/lib/command-aliases.cjs', // GENERATED
|
||||||
'!get-shit-done/bin/lib/commands.cjs', // GENERATED
|
'!get-shit-done/bin/lib/commands.cjs', // GENERATED
|
||||||
'!get-shit-done/bin/lib/core.cjs', // GENERATED
|
'!get-shit-done/bin/lib/core.cjs', // GENERATED
|
||||||
|
|||||||
Reference in New Issue
Block a user