Commit graph

160 commits

Author SHA1 Message Date
Andrew Sliwinski
c40046e6d7
Update TRADEMARK 2018-06-18 13:20:35 -04:00
Ray Schamp
7a1c0f5d58
Merge pull request from fsih/removePropSort
Remove prop sort
2017-12-18 10:42:02 -05:00
DD
3465205638 feat(react/sort-prop-types): Remove React prop sort
Remove react/sort-prop-types and react/jsx-sort-props
2017-11-21 10:25:33 -05:00
Ray Schamp
2f50c58e07 Merge pull request from rschamp/upgrade-babel
chore(dependencies): Update dependencies, use ^ syntax for peer, optional deps
2017-10-05 10:02:09 -04:00
Ray Schamp
cfcc4cb1d0 Merge pull request from rschamp/fix-react-jsx-tag-spacing
fix(react): Migrate jsx-space-before-closing to jsx-tag-spacing
2017-10-05 10:01:58 -04:00
Ray Schamp
1f918935a0 fix(react): Migrate jsx-space-before-closing to jsx-tag-spacing
Fix a deprecation warning and move our jsx-space-before-closing rule to jsx-tag-spacing instead (our
preference is the default)
2017-10-04 09:46:57 -04:00
Ray Schamp
3e1d4b8113 chore(dependencies): Update dependencies, use ^ syntax for peer, optional deps
Update babel-eslint so downstream packages can update without a peer dependency warning

BREAKING CHANGE: must update babel-eslint peer dependency
2017-10-04 09:44:30 -04:00
Paul Kaplan
491259c38b Merge pull request from paulkaplan/errorify-warnings
feat(all): Move all warnings to errors
2017-08-15 10:03:39 -04:00
Paul Kaplan
ed99a27b45 feat(all): Move all warnings to errors
Make all previous warning rules into errors except the todo rule

BREAKING CHANGE: eslint4.0 and other dep updates, and all rule changes. Fixes .
2017-08-15 10:02:52 -04:00
Paul Kaplan
2b93beb7a0 Merge pull request from LLK/revert-12-errorify-warnings
Revert "feat(reat,es6,node,base,deps): Move all warnings to errors"
2017-08-15 10:02:26 -04:00
Paul Kaplan
5d9f43a6a0 Revert "feat(reat,es6,node,base,deps): Move all warnings to errors" 2017-08-15 10:01:13 -04:00
Paul Kaplan
5f0c51f140 Merge pull request from paulkaplan/errorify-warnings
feat(reat,es6,node,base,deps): Move all warnings to errors
2017-08-14 16:08:46 -04:00
Paul Kaplan
4b39b76871 feat(reat,es6,node,base,deps): Move all warnings to errors
Make all previous warning rules into errors except the todo rule

BREAKING CHANGE: eslint4.0 and other dep updates, and all rule changes.
Fixes .
2017-08-14 13:45:03 -04:00
Ray Schamp
4ccd256b94 docs(README): Fix suggested base .eslintrc.js
We are switching to ES6 everywhere, and the node env was always unnecessary.
2017-04-20 09:56:14 -04:00
Ray Schamp
dbe9b4aaf0 Merge pull request from rschamp/feat/max-len-ignore-urls
feat(max-len): use ignoreUrls: true
2016-11-24 10:25:54 -05:00
Ray Schamp
a6d81174d2 feat(max-len): use ignoreUrls: true
Don't consider lines containing URLs as violating max-len
2016-11-23 17:32:14 -05:00
Chris Willis-Ford
be9abcdee7 Merge pull request from cwillisf/get-picky-about-jsdoc
feat(jsdoc): add more checks to valid-jsdoc rule
2016-11-08 15:02:02 -08:00
Chris Willis-Ford
6b53020f28 Merge pull request from cwillisf/fix-windows
chore(windows): Add .gitattributes with *.js rule
2016-10-26 11:10:53 -07:00
Christopher Willis-Ford
a9398f0739 chore(windows): Add .gitattributes with *.js rule
Since `eslint` requires LF-only line endings and the default git config
on Windows uses CRLF for text files, this `.gitattributes` rule is
necessary for `npm test` / `eslint` to pass on most Windows systems.
2016-10-26 10:51:38 -07:00
Ray Schamp
d4a585595f docs(semantic release): Explain how scopes map to version bumps 2016-10-25 19:16:41 -04:00
Ray Schamp
db6e18ee80 Merge pull request from cwillisf/fix-dev
fix(dev): add missing dev dependencies
2016-10-25 18:29:44 -04:00
Christopher Willis-Ford
76c8f71322 feat(jsdoc): add more checks to valid-jsdoc rule
BREAKING CHANGE: Added stricter options from
http://eslint.org/docs/rules/valid-jsdoc
2016-10-25 14:33:21 -07:00
Christopher Willis-Ford
c36f1c105f fix(dev): add missing dev dependencies 2016-10-25 14:32:49 -07:00
Ray Schamp
dcad861e08 docs(setup): Add instructions for linting React 2016-10-25 12:16:48 -04:00
Ray Schamp
8494d2b03d fix(eslint): Upgrade eslint peerDependency
The `eol-last` rule depends on at least 3.6.0. Update to ~3.8 for good measure.
2016-10-24 17:55:37 -04:00
Ray Schamp
b1435b9c6b Merge pull request from rschamp/license-etc
docs(legal): Add LICENSE and TRADEMARK
2016-10-24 16:36:51 -04:00
Ray Schamp
27e22ae404 docs(legal): Add LICENSE and TRADEMARK
ISSUES CLOSED: 
2016-10-24 16:36:06 -04:00
Ray Schamp
2cd5999f11 Merge pull request from rschamp/fix-rest-spread
fix(es6): Allow rest/spread syntax
2016-10-24 14:56:28 -04:00
Ray Schamp
94e0dcf62e fix(es6): Allow rest/spread syntax
Previously the parser didn't recognize rest/spread syntax as valid
2016-10-24 14:55:29 -04:00
Ray Schamp
b458d25fb6 Merge pull request from rschamp/scratch-vm-review
Rule fixes post scratch-vm review
2016-10-24 11:34:46 -04:00
Ray Schamp
0b0c0c5f08 fix(base): Enforce spaced-comment
Comments should have a space after the opening comment character

BREAKING CHANGE: http://eslint.org/docs/rules/spaced-comment ([2])
2016-10-24 11:26:49 -04:00
Ray Schamp
e17fc601e0 fix(base): Enforce space-unary-ops
There should be spaces after word unary ops, but there shouldn't be spaces before nonword unary ops.

BREAKING CHANGE: http://eslint.org/docs/rules/space-unary-ops ([2])
2016-10-24 11:26:49 -04:00
Ray Schamp
3b2887b6a3 fix(base): Enforce space-infix-ops
There should be spaces around infix operators

BREAKING CHANGE: http://eslint.org/docs/rules/space-infix-ops ([2])
2016-10-24 11:26:49 -04:00
Ray Schamp
5280a2a4e9 fix(base): Enforce space-in-parens
There shouldn't be spaces in parens

BREAKING CHANGE: http://eslint.org/docs/rules/space-in-parens ([2])
2016-10-24 11:26:49 -04:00
Ray Schamp
39f5431a30 fix(base): Enforce object-curly-spacing
Objects shouldn't have spaces after the opening curly or before the closing one.

BREAKING CHANGE: http://eslint.org/docs/rules/object-curly-spacing ([2])
2016-10-24 11:26:49 -04:00
Ray Schamp
d87cbd650d fix(base): Enforce semi-spacing
Semicolons should have spaces after them, and not before them. Obviously.

BREAKING CHANGE: http://eslint.org/docs/rules/semi-spacing ([2])
2016-10-24 11:26:49 -04:00
Ray Schamp
394896edfe fix(base): Relax camelcase for object properties
Because of the addition of quote-props, the linter picked up non-camelcase object props. Object

properties shouldn't be linted for camelcase.
2016-10-24 11:26:49 -04:00
Ray Schamp
3309002c03 fix(base): Enforce quote-props
Object properties should not use quotes unless necessary, in which case all properties of the object

should use quotes.

BREAKING CHANGE: http://eslint.org/docs/rules/quote-props ([2, 'consistent-as-needed'])
2016-10-24 11:26:49 -04:00
Ray Schamp
b10b59d7a0 fix(base): Enforce func-call-spacing
BREAKING CHANGE: http://eslint.org/docs/rules/func-call-spacing ([2, 'always'])
2016-10-24 11:26:49 -04:00
Ray Schamp
baf20380fe fix(base): Enforce eol-last
BREAKING CHANGE: http://eslint.org/docs/rules/eol-last ([2, 'always'])
2016-10-24 11:26:49 -04:00
Ray Schamp
2a5294817a fix(base): Enforce comma-style
BREAKING CHANGE: http://eslint.org/docs/rules/comma-style ([2])
2016-10-24 11:26:48 -04:00
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