Files
Chris Scott ed02ddabba feat(ocm-cli): add remote indicator to TUI when attached to Manager (#313)
* feat(ocm-cli): add remote indicator to TUI when attached to Manager

* chore(ocm-cli): bump version to 0.2.3

* feat(ocm-cli): show remote indicator on home screen and session prompt

* feat(ocm-cli): remove arrow icon from remote indicator

* docs: remove arrow icon from remote indicator description
2026-07-14 12:55:14 -04:00

50 lines
1.2 KiB
JavaScript

import js from '@eslint/js'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist', '.env*', 'coverage']),
{
files: ['**/*.ts', '**/*.tsx'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
],
languageOptions: {
ecmaVersion: 2022,
globals: {
process: 'readonly',
Buffer: 'readonly',
console: 'readonly',
},
parserOptions: {
projectService: {
defaultProject: './tsconfig.json',
},
},
},
rules: {
'no-console': 'off',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-unused-vars': 'error',
'no-useless-escape': 'warn',
},
},
{
files: ['test/**/*.ts', 'scripts/**/*.ts', 'vitest.config.ts'],
languageOptions: {
parserOptions: {
projectService: false,
},
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['error', {
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
}],
'no-control-regex': 'off',
},
},
])