-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing #229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to be annoying! Just small things but good job on the whole 👍
"peerDependencies": { | ||
"eslint": ">=3.5.0" | ||
}, | ||
"contributors": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gitter handle may be better! hehe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nelsonic included too!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to github handles and added @nelsonic
@@ -1,12 +1,23 @@ | |||
{ | |||
"name": "goodparts", | |||
"name": "eslint-config-dwyl", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we want to double check name with everyone? brings us back to #192 , the name of this module will be a good indication
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dwyl-goodparts
eslint-goodparts
eslint-dwyl
all possible contenders too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They all sound fine
"extends": "dwyl" | ||
} | ||
``` | ||
Alternatively, you can also add this to the `"eslintConfig"` field in your `package.json`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm lazy can you provide the exact linting command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made this explicit in 1e7ab4c
Before merging name of package needs to be decided but then ready, @Shouston3 @SimonLab @nelsonic thoughts? |
Then you can add the following script to your `package.json`: | ||
``` | ||
{ | ||
"lint": "node_modules/.bin/goodparts path/to/files/for/linting" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eliasCodes could we specify a bin
script in package.json
?
see: https://docs.npmjs.com/files/package.json#bin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have 82796e6
Or do you mean changing the script to "lint": "goodparts path/to/files/for/linting"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good start. thanks!
thanks @eliasCodes !! 👍 |
Did we go with |
Changes necessary to make this config easily shareable.
Tested this locally using
npm link
and adding an.eslintrc.json
file to a new project with the following contents:Updated README with instructions.
All thats then left to be done is to publish to
npm
. Current version is0.0.1
which will be the initial version unless someone has a problem with it.