node-sonos
node-sonos copied to clipboard
Codacy code review parameters
I'm using JSHint and your .jshintrc configuration to verify my code. My pull requests got successfully verified by Travis CI. After about 24 hours I saw that my code failed.
The failed verification comes from Codacy.
- failure : A variable was not camel case.
Even I have to agree my fault and corrected it, looking at
.jshintrcI see"camelcase": false,. The JSHint documentation says that camelcase checking is even deprecated and to use something like JSCS (which I could, but requires a config file) - failure: Not using curly braces in a one liner if statement.
So, how could it be avoided that a pull request needs to be corrected afterwards? My IDE can enable JSLint, JSHint, Closure Linter, JSCS and ESLint.
JSCS and ESLint allow config files like the .jshintrc
Don't worry about the code style atm. I plan to use standard