Skip to content

Commit 4496364

Browse files
Minor adjustments and cleanup
1 parent e53b337 commit 4496364

File tree

3 files changed

+493
-15
lines changed

3 files changed

+493
-15
lines changed

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import reactHooksPlugin from 'eslint-plugin-react-hooks';
77

88
export default tseslint.config(
99
{
10-
ignores: ['**/node_modules/**', '**/build/**', '**/dist/**'],
10+
ignores: ['**/node_modules', '**/build', '**/dist'],
1111
},
1212
{
1313
name: 'default',
@@ -97,6 +97,7 @@ export default tseslint.config(
9797
'@typescript-eslint/no-explicit-any': 'off',
9898
'react-hooks/rules-of-hooks': 'error',
9999
'react-hooks/exhaustive-deps': 'error',
100+
'jsx-quotes': 'off', // deprecated rule, handled by prettier anyway
100101
},
101102
},
102103
);

packages/react-sdk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"build": "rimraf ./dist && concurrently 'vite build' 'tsc -p ./tsconfig.lib.json' 'pnpm run build:styles'",
3636
"build:styles": "sass src/styles:dist/styles --no-source-map --style=compressed",
3737
"dev": "concurrently 'vite build --watch' 'tsc -p ./tsconfig.lib.json --watch' 'sass --watch src/styles:dist/styles'",
38-
"prepare": "exit 0;",
38+
"prepublishOnly": "pnpm run build",
3939
"test": ""
4040
},
4141
"keywords": [
@@ -59,9 +59,9 @@
5959
"@types/react": "^18.3.26",
6060
"@types/react-dom": "^18.3.7",
6161
"@types/react-syntax-highlighter": "^15.5.13",
62-
"concurrently": "catalog:",
6362
"rimraf": "^6.0.1",
6463
"sass": "^1.94.2",
64+
"concurrently": "catalog:",
6565
"typescript": "catalog:",
6666
"vite": "catalog:",
6767
"vitest": "catalog:"

0 commit comments

Comments
 (0)