eslint-plugin-mpx 0.2.17 → 0.2.18

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.
@@ -137,7 +137,10 @@ module.exports = {
137
137
  node.parent.key.name.name
138
138
  )
139
139
  ) {
140
- if (node.parent.key.name.name === 'for-item') {
140
+ if (
141
+ node.parent.key.name.name === 'for-item' ||
142
+ node.parent.key.name.name === 'for-index'
143
+ ) {
141
144
  exposeSet.add(ref.id.name)
142
145
  }
143
146
  continue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-mpx",
3
- "version": "0.2.17",
3
+ "version": "0.2.18",
4
4
  "description": "Official ESLint plugin for Mpx.js",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {