atomspace / eslint-plugin-naming-convention

ESLint plugin to validate identifiers names according to a convention
MIT License
1 stars 0 forks source link

The rule `no-special-in-object-members` throws exeption #46

Closed constgen closed 5 years ago

constgen commented 5 years ago
[Info  - 12:09:36] ESLint library loaded from: d:\Work\Projects_AtomSpace\eslint-plugin-naming-convention\node_modules\eslint\lib\api.js
[Error - 12:09:55] ESLint stack trace:
[Error - 12:09:55] TypeError: Cannot read property 'forEach' of undefined
Occurred while linting D:\Work\Projects_AtomSpace\eslint-plugin-naming-convention\src\rules\no-special-in-object-members.js:1
    at VariableDeclaration (D:\Work\Projects_AtomSpace\eslint-plugin-naming-convention\src\rules\no-special-in-object-members.js:18:22)
    at listeners.(anonymous function).forEach.listener