@lvce-editor/eslint-plugin-virtual-dom 17.0.1 → 17.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -856,6 +856,11 @@ const recommended = [{
|
|
|
856
856
|
'virtual-dom/prefer-state-destructuring': 'error',
|
|
857
857
|
'virtual-dom/valid-child-count': 'error'
|
|
858
858
|
}
|
|
859
|
+
}, {
|
|
860
|
+
files: ['**/test/**/*.{js,mjs,cjs,ts,mts,cts}', '**/tests/**/*.{js,mjs,cjs,ts,mts,cts}', '**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts}'],
|
|
861
|
+
rules: {
|
|
862
|
+
'virtual-dom/hoist-static-nodes': 'off'
|
|
863
|
+
}
|
|
859
864
|
}];
|
|
860
865
|
|
|
861
866
|
export { recommended as default };
|