Commit graph

719 commits

Author SHA1 Message Date
Ray
fc2fb28c66 Simplify dependencies with npx for semantic release
This is their suggested setup for Travis now
2019-02-25 17:01:57 -05:00
greenkeeper[bot]
61d813743b docs(readme): add Greenkeeper badge 2019-02-25 16:56:03 +00:00
greenkeeper[bot]
b1463f236e chore(package): update dependencies 2019-02-25 16:56:00 +00:00
Ray Schamp
e77f26b6d6
Merge pull request #21 from mzgoddard/ecma-2018
Replace experimentalObjectRestSpread with ecmaVersion: 2018
2019-02-25 11:55:01 -05:00
Ray Schamp
d306045f62
Remove unnecessary npm upgrade step 2019-02-25 11:54:47 -05:00
Michael "Z" Goddard
20bfd58226
use latest npm on travis 2019-01-22 13:43:57 -05:00
Michael "Z" Goddard
b615d3a0c3
bump travis node version from 4 to 10 2018-12-18 15:14:30 -05:00
Michael "Z" Goddard
923a06d2ad
replace experimentalObjectRestSpread with ecmaVersion: 2018
https://github.com/tc39/proposal-object-rest-spread has become a part
of the ECMAScript standard as of version 2018 (also known as ECMAScript
9).

experimentalObjectRestSpread will be removed in the future from eslint.
2018-12-11 12:32:46 -05:00
Michael "Z" Goddard
0a802a0828
bump eslint to >=5 and babel-eslint to >=8 2018-12-11 12:32:04 -05:00
Andrew Sliwinski
c40046e6d7
Update TRADEMARK 2018-06-18 13:20:35 -04:00
Ray Schamp
7a1c0f5d58
Merge pull request #19 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 #18 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 #17 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 #14 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 #11.
2017-08-15 10:02:52 -04:00
Paul Kaplan
2b93beb7a0 Merge pull request #13 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 #12 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 #11.
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 #8 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 #7 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 #6 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 #5 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 #4 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: #3
2016-10-24 16:36:06 -04:00
Ray Schamp
2cd5999f11 Merge pull request #2 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 #1 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