Giter VIP home page Giter VIP logo

Comments (7)

Flet avatar Flet commented on July 28, 2024

Unsure on this, sorry. Were you able to get past this? Have you tried reinstalling the latest version?

from semistandard.

JGAntunes avatar JGAntunes commented on July 28, 2024

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.

nikmash avatar nikmash commented on July 28, 2024

@Flet still hitting the error. Ended up just using eslint.

from semistandard.

Flet avatar Flet commented on July 28, 2024

:(

Does standard blow up too?

from semistandard.

Flet avatar Flet commented on July 28, 2024

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.

dcousens avatar dcousens commented on July 28, 2024

@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.

Flet avatar Flet commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.