@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.
Files changed (2) hide show
  1. package/dist/index.js +5 -0
  2. 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/eslint-plugin-virtual-dom",
3
- "version": "17.0.1",
3
+ "version": "17.0.2",
4
4
  "main": "dist/index.js",
5
5
  "repository": {
6
6
  "type": "git",