Skip to content

Commit 2d2297d

Browse files
committed
ignore dist in eslint
1 parent b7a7804 commit 2d2297d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
root: true,
55
env: {browser: true, es2020: true},
66
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'],
7-
ignorePatterns: ['.eslintrc.cjs', 'examples'],
7+
ignorePatterns: ['.eslintrc.cjs', 'examples', 'dist', 'node_modules'],
88
parser: '@typescript-eslint/parser',
99
parserOptions: {
1010
project: path.join(__dirname, 'tsconfig.json')

examples/react-embed-front-chat/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function App() {
2828
}
2929

3030
const iframe = iframeRef.current;
31+
3132
const scriptTag = document.createElement('script');
3233
scriptTag.setAttribute('type', 'text/javascript');
3334
scriptTag.setAttribute('src', scriptSrc);

0 commit comments

Comments
 (0)