mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
* 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
50 lines
1.2 KiB
JavaScript
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',
|
|
},
|
|
},
|
|
])
|