Commit graph

7 commits

Author SHA1 Message Date
Ray Schamp
b1b0042cde fix(base): Enforce array-bracket-spacing
Array brackets should not have spaces inside of them

BREAKING CHANGE: http://eslint.org/docs/rules/array-bracket-spacing ([2, 'never'])
2016-10-24 11:26:21 -04:00
Ray Schamp
8f97688fe2 feat(base): Allow empty functions
We only ever use empty functions when we need them so why forbid them
2016-10-23 22:17:37 -04:00
Ray Schamp
463f664f96 fix(base): Update rules for scratch-vm
Adjustments to the rules made while linting scratch-vm

TODO-style comments now warn. Trailing commas are explicitly not allowed (previously assumed this

rule was in effect with eslint/recommended).
2016-10-23 18:11:30 -04:00
Ray Schamp
e00a1210ac fix(node): Split Node rules out from base config
We don't want to include Node-specific rules for the base configuration. This allows projects to

lint Node files separately from browser files.
2016-10-23 18:08:20 -04:00
Ray Schamp
999c359ea4 refactor(base): Use "js" as the base configuration
Having the base extend "js" was silly
2016-10-23 10:57:03 -04:00
Ray Schamp
f240c8bf3a fix(base): Set default rules to JS-only
This way, each project can use only the relevant rules
2016-10-22 18:04:20 -04:00
Ray Schamp
a9c8253225 Initial commit 2016-10-21 16:56:57 -04:00