Commit Graph

21 Commits

Author SHA1 Message Date
Jesse Rosenberger
cba649f709 Add Newlines to end of .gitignore files, specifically the new app skel
Even though I think the fight is a bit futile, it is considered best practice to have newlines at the end of all files.  At the request of meteor/meteor#7786, this commit adds newlines to the end of the new app skeleton `.gitignore` file.  These skel files are used when generating new meteor apps so this avoids perpetuation of this problem into futrue generations. ;)

In an effort to beef up this PR, I also took the liberty of fixing the few other Meteor files which were lacking newlines (all `.gitignore` files)

Closes meteor/meteor#7786
2016-09-26 15:32:08 +03:00
Tom Coleman
36e14e788b Bump babel-eslint version in the linter
To work around https://github.com/babel/babel-eslint/issues/243
2016-05-25 14:12:38 -07:00
Tom Freudenberg
8a24a1b2ba Make Script More Portable With #!/usr/bin/env 2015-11-01 22:04:10 +01:00
Sashko Stubailo
696876b184 Get rid of React from eslintrc until we think about it more 2015-08-18 17:14:34 -07:00
Sashko Stubailo
27bd92b0a4 Lint parse-stack.js 2015-07-29 12:36:44 -07:00
Sashko Stubailo
ed714ef868 Update a file to be linted; improve git hook 2015-06-30 14:33:36 -07:00
David Glasser
1b8a311002 Only run eslint hook on js files
Looks like if you explicitly name non-js files on the command line, it
pays attention.
2015-06-26 23:25:40 -07:00
David Glasser
0c254d52cf use a git command that works in hooks 2015-06-25 15:54:43 -07:00
Sashko Stubailo
fd81473151 Make dangling comma a warning - it's sometimes nonsensical
Maybe this means we should remove this rule altogether
2015-06-24 22:07:40 -07:00
Sashko Stubailo
1fae311b40 Actually make eslintrc follow guide
I checked every rule!
2015-06-24 21:53:43 -07:00
Sashko Stubailo
9a21399099 Copy linter config from AirBnB javascript repo 2015-06-24 21:08:27 -07:00
Sashko Stubailo
959d5dc092 Only lint files that have been changed in a commit 2015-06-24 15:11:59 -07:00
Sashko Stubailo
3bed8f6a62 Add a git hook copying mechanism to meteor tool
Introduce the first hook - ESLint for the tool
2015-06-24 14:54:55 -07:00
Sashko Stubailo
7b7776d225 Fix up linter rules 2015-06-24 11:15:01 -07:00
Avital Oliver
d1aba25b8b Update eslint to Airbnb style guide
github.com/airbnb/javascript/tree/es6
2015-06-10 20:14:44 -07:00
Sashko Stubailo
61893dacf0 Relax linter 2015-02-13 20:35:40 -08:00
Sashko Stubailo
04151aadaa Relax linter 2015-02-13 20:27:22 -08:00
Sashko Stubailo
d047be739e Remove unneeded rule 2015-01-29 09:09:48 -08:00
Sashko Stubailo
e2ad1fdbbf Turn off new parens rule 2015-01-28 22:18:10 -08:00
Sashko Stubailo
b6e804f5ef Add eslintignore with everything but tools js files 2015-01-28 22:13:11 -08:00
Sashko Stubailo
5e029ba736 Add ESLint and fix most linter errors in watch.js 2015-01-28 21:47:22 -08:00