refactor(vscode-ide-companion): Refactoring the project structure and updating dependencies

This commit is contained in:
yiliang114
2025-11-29 13:16:58 +08:00
parent 9ae45c01a6
commit 6885138cf0
13 changed files with 84 additions and 183 deletions

View File

@@ -6,6 +6,7 @@
import typescriptEslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import reactHooks from 'eslint-plugin-react-hooks';
export default [
{
@@ -29,6 +30,8 @@ export default [
{
plugins: {
'@typescript-eslint': typescriptEslint,
'react-hooks': reactHooks,
import: importPlugin,
},
languageOptions: {
@@ -50,6 +53,14 @@ export default [
format: ['camelCase', 'PascalCase'],
},
],
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'error',
'import/no-internal-modules': [
'error',
{
allow: ['./styles/**'],
},
],
curly: 'warn',
eqeqeq: 'warn',