Skip to content

Commit 8483a50

Browse files
vivek12345CompuIves
authored andcommitted
Fix hooks eslint rule for vue files (codesandbox#1276)
* Add @vivek12345 as a contributor * ⬆️ react instantsearch upgraded and css class names and prop names updated * 🐛 turned off rule-of-hooks eslint rule for vue-cli and nuxt templates
1 parent b5eb8b5 commit 8483a50

File tree

1 file changed

+1
-0
lines changed
  • packages/app/src/app/components/CodeEditor/Monaco/workers/linter

1 file changed

+1
-0
lines changed

packages/app/src/app/components/CodeEditor/Monaco/workers/linter/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ self.addEventListener('message', async event => {
363363
config.rules = {
364364
...defaultConfig.rules,
365365
...config.rules,
366+
'react-hooks/rules-of-hooks': 'off',
366367
};
367368
options = { ...options, ...getVueVerifyOptions(filename) };
368369
}

0 commit comments

Comments
 (0)