Comments (7)
Unsure on this, sorry. Were you able to get past this? Have you tried reinstalling the latest version?
from semistandard.
Same here.
semistandard --verbose | snazzy
semistandard: Unexpected linter output:
TypeError: Cannot read property 'type' of undefined
at markPropTypesAsDeclared (/home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint-plugin-react/lib/rules/prop-types.js:450:27)
at /home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint-plugin-react/lib/rules/prop-types.js:572:9
at Array.forEach (native)
at EventEmitter.ObjectExpression (/home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint-plugin-react/lib/rules/prop-types.js:568:23)
at EventEmitter.emit (events.js:129:20)
at Controller.controller.traverse.enter (/home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint/lib/eslint.js:824:25)
at Controller.__execute (/home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint/node_modules/estraverse/estraverse.js:397:31)
at Controller.traverse (/home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint/node_modules/estraverse/estraverse.js:495:28)
at EventEmitter.module.exports.api.verify (/home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint/lib/eslint.js:817:24)
at processText (/home/jgantunes/Documents/github/flux-app/node_modules/semistandard/node_modules/eslint/lib/cli-engine.js:199:27)
~/D/g/flux-app cat node_modules/semistandard/package.json | grep version
"version": "7.0.2",
from semistandard.
@Flet still hitting the error. Ended up just using eslint.
from semistandard.
:(
Does standard
blow up too?
from semistandard.
Also, are you using the react plugin with eslint? May be worth trying to use it to see... Looks like the stack trace is pointing to it... eslint-plugin-react/lib/rules/prop-types.js:450:27
from semistandard.
@nikmash if you could try and isolate the code that would be helpful.
Its likely this is a problem with 1 particular rule in eslint dying on the code you provided.
from semistandard.
Closing this issue -- if you're still having issues after updating to the lastest version, feel free to open a new issue!
from semistandard.
Related Issues (20)
- Cannot use semistandard because of missing dependencies HOT 4
- development halted? HOT 3
- Semistandard 12.0.0 globals exclude doesn't work HOT 5
- Expected to call super on super.apply HOT 1
- Cannot read property 'ecmaFeatures' of undefined HOT 1
- Parsing error: Cannot find module '@babel/types' HOT 2
- RegExp invalid group error on named group HOT 2
- Travis CI failing with Node 6 and v13.0 HOT 6
- WebStorm (and JetBrains IDEs) HOT 1
- Add me as a collaborator? HOT 6
- Cannot find module '@typescript-eslint/parser' HOT 5
- Is this repository still maintained? HOT 1
- Badge link doesn't work HOT 1
- Semistandard broken on OS X starting in 14.2.1 HOT 4
- Exclude history from published package HOT 2
- Update standard to version 16.0.3 that disables the rule `Enforce default parameters to be last (default-param-last)` HOT 3
- Replace Travis CI with GitHub Actions HOT 1
- Usage of ESM imports instead of CommonJS
- Move semsistandard to standard HOT 2
- Parsing error for static class variables HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semistandard.