Closed ricardofbarros closed 8 years ago
Well, actually I'm using eslint for the project. If you don't mind, I can push to my github.
Sure, just drop a link to the raw file.
Hey @lubien just cloned your repo and did a fresh install and linter-js-standard
is working fine. No react/jsx-no-duplicate-props
message, could you clean your node_modules dir and do a fresh install?
From what I'm seeing on your project your npm test script is running semistandard
, which is getting the global semistandard, that could be why running on your CLI you don't get nothing and when you use linter-js-standard
you get an error, possibly because you have an outdated semistandard
under your project.
Cleaned node_modules
and installed again. Nothing changed.
Also using "lint": "./node_modules/.bin/semistandard"
still have the empty result.
About the semistandard
version. I've installed today, so...
Hmm, can you tell me what are the settings you have of linter-js-standard
? Do you have Check for standard
ticked?
What's happening is that linter-js-standard is linting with the default linter, I can do version bump on linter-js-standard
updating the default versions, but that' something I wish to stay away on the future of this package. It should always get standard
, semistandard
from node_modules
@ricardofbarros I'm having this issue, too. How can I help? I just installed linter-js-standard
from inside Atom settings and am using semistandard
as the only deviation from the default package settings. I get the error in every JS file at the beginning of the first expression. Does the plugin require a package.json
file in the project or any specific string within package.json
if it does exist?
Hey @jsejcksn, yes linter-js-standard
requires a package.json with devDependencies
set with standard
or semistandard
, etc ..
Can you tell me your OS? Is it Win 10 as well ?
@ricardofbarros I'm using OS X 10.11.5.
@jsejcksn do you have the same settings as here, or at least Check for standard
ticked?
@ricardofbarros
@jsejcksn I'm going to remove the option Check for standard
in the future as it should be always enabled, but if you want to use the semistandard
version you have installed under your project you should tick that option :) .
@ricardofbarros Why is a package.json
file required? I often use linters with individual files which are not associated with a package and have no package.json
file.
Well, this is odd. Normally everyone has a package.json
on the root of their project while they are editing their files.
But oh well, I'm tired of this issues about Definition react... not found
and I'm going to release a patch version with update versions of standard
, semistandard
and so on.
@jsejcksn and @lubien, just released a patch version with updated dependencies. So now you can both update linter-js-standard
and you'll have the most recent linters. Thanks.
Hey @lubien, moving this conversation to here.
This is odd, as this type of bugs were fixed as of
3.3.0
with #101 PR.Can you give me a small code sample so I can try replicate this?