Commit graph

719 commits

Author SHA1 Message Date
Ray Schamp
bd9e9fca67 fix(base): Enforce comma-spacing
BREAKING CHANGE: http://eslint.org/docs/rules/comma-spacing ([2])
2016-10-24 11:26:48 -04:00
Ray Schamp
324403c4cb fix(base): Enforce block-spacing
BREAKING CHANGE: http://eslint.org/docs/rules/block-spacing ([2, 'always'])
2016-10-24 11:26:48 -04:00
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
1493ef0e6e fix(node): add node env to node module
Automatically include Node globals when using the node config
2016-10-24 10:36:10 -04:00
Ray Schamp
f7820346d5 docs(setup): Add installation and usage instructions 2016-10-23 22:49:16 -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
d150b773b5 style(react): Fix dangling comma
Who lints the linter??
2016-10-23 18:14:53 -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
35832c7bb0 build(babel-eslint): Update semver format to match eslint 2016-10-23 18:05:01 -04:00
Ray Schamp
66a5eaab2f refactor(lint): Move eslintrc into package.json for simplicity 2016-10-23 18:02:38 -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
b1b31f7d19 test(base): Add test script
Allows Travis builds to build
2016-10-23 10:51:31 -04:00
Ray Schamp
ba6a09097e build(release): Configure semantic release
Use semantic release to publish to npm
2016-10-23 10:47:15 -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
b6b895bd67 fix(react): Extend react rules from react/recommended 2016-10-22 17:48:03 -04:00
Ray Schamp
8f1d35c401 chore(git): Use commitizen
Set up commitizen in preparation to use semantic release for npm publishing
2016-10-22 12:23:06 -04:00
Ray Schamp
c4191f6d85 Fix up rules after one pass of linting 2016-10-22 11:47:23 -04:00
Ray Schamp
a9c8253225 Initial commit 2016-10-21 16:56:57 -04:00