@icebreakers/eslint-config 5.0.0 → 5.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/README.md CHANGED
@@ -124,7 +124,7 @@ Mini Program templates. It enables the following defaults:
124
124
 
125
125
  - injects readonly globals for `wx`, `Page`, `App`, `Component`, `getApp`, `getCurrentPages`, `requirePlugin`, and `WechatMiniprogram`
126
126
  - ignores `dist/**`, `.weapp-vite/**`, `miniprogram_npm/**`, `node_modules/**`, `project.config.json`, and `project.private.config.json`
127
- - when `vue: true` is also enabled, relaxes Vue template checks for Mini Program inline tags such as `<text>`
127
+ - when `vue: true` is also enabled, relaxes Vue template checks for Mini Program inline tags such as `<text>` and disables `vue/no-useless-template-attributes` so compiler-only `<template #slot>` attributes are allowed
128
128
 
129
129
  #### Native Mini Program Minimal Config
130
130
 
package/README.zh.md CHANGED
@@ -145,7 +145,7 @@ export default icebreaker({
145
145
 
146
146
  - 注入 `wx`、`Page`、`App`、`Component`、`getApp`、`getCurrentPages`、`requirePlugin`、`WechatMiniprogram` 全局变量
147
147
  - 忽略 `dist/**`、`.weapp-vite/**`、`miniprogram_npm/**`、`node_modules/**`、`project.config.json`、`project.private.config.json`
148
- - 当同时开启 `vue: true` 时,降低 `<text>` 等小程序内联标签的误报
148
+ - 当同时开启 `vue: true` 时,降低 `<text>` 等小程序内联标签的误报,并关闭 `vue/no-useless-template-attributes`,允许 `<template #slot>` 上的编译器专用属性
149
149
 
150
150
  #### 原生小程序最小配置
151
151