-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
Match yeoman generator structure #8
Match yeoman generator structure #8
Conversation
Unrelated, but just wanted to say 👍 for removing the Gulp pre-processing; the coverage report was nice, but removing it makes it much easier to write new tests because you can just run the one test alone through Mocha. |
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.
Good job @alexlafroscia ! Everything looks perfect 👍 One more approval and we're good to 🚀
cc @kevinkucharczyk @jbandura
@@ -8,8 +8,8 @@ | |||
"test": "test" | |||
}, | |||
"scripts": { | |||
"test": "mocha test/* --reporter nyan", | |||
"start": "mocha test/* --reporter nyan --watch" | |||
"test": "mocha tests --recursive --reporter nyan", |
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.
TIL 👍
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.
Grabbed it from the plugin config that would be generated, if you used Yeoman to create the initial plugin:
var rules = {}; | ||
var ruleDir = resolve(__dirname, 'rules'); | ||
|
||
fs.readdirSync(ruleDir).forEach(function(name) { |
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.
Great that we can finally get rid of this 👍
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.
LGTM 🚀
Closes #5
Hope you don't mind I added myself to the contributors list.
At some point, someone should go through the files in
docs/rules/*
and update them to be closer to the syntax of official docs files. My pass here just copies the contents from the one big file and breaks it up into individual ones.