-
Notifications
You must be signed in to change notification settings - Fork 293
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
ESLint Default values resulting in errors on Build time #52
Comments
Maybe I'm too pedantic with this but I see this as a first sign in terms of the broken window theory (Short: Let one thing slide, the rest will follow and with it the demise of the project). I actually introduced a lot of the code changes (Grunt, testing, automation) to make it easier to check for such errors on a regular basis and plan to get this onto travis and track the progress with migrations towards a cleaner codebase. I'll give updates to these efforts in a bit. @bluesmoon what do you think? |
We've selected the eslint rules to force what we want the project to be. In particular, eslint failure needs to force the Makefile to fail so that subsequent rules aren't executed (for example if you have rules to push to your production server). @andreas-marschke that's a good idea, but I'd speak to @nicjansma about the testing framework to use. |
IMO, I do not want the build to fail even for a specific multi-space and comma-spacing issues. Would be better if we can throw warnings instead of errors. Can send a pull request if you are aligned. |
No, like I mentioned in the previous comment, I really do want the build to fail in these cases. Coding style is very important and it's important to keep it clean. |
Makes Sense. Check the errors that are thrown on the build time. How do you want to proceed on this?. |
got it, looks like we're using different versions of eslint.
|
I am using version - 0.17.0 |
Filed a bug on eslint: eslint/eslint#2077 |
Awesome 👍 |
I've fixed any issues that needed fixing, and have made this one a warning
until eslint fixes it.
|
super cool :) |
Lots of errors on building the plugin because of default ESLint rules like "no-multi-spaces", "comma-spacing".
These rules should throw warnings rather than errors.
Any thoughts?.
The text was updated successfully, but these errors were encountered: