]> git.wincent.com - static-react-boilerplate.git/log
static-react-boilerplate.git
7 years agoSync over .babelrc from minimal-npm-boilerplate master
Greg Hurrell [Tue, 13 Oct 2015 03:41:53 +0000 (20:41 -0700)] 
Sync over .babelrc from minimal-npm-boilerplate

Adds functionBind, trailingFunctionCommas and runtime.

7 years agoFix spurious global-strict lint problems
Greg Hurrell [Wed, 12 Aug 2015 06:41:58 +0000 (23:41 -0700)] 
Fix spurious global-strict lint problems

I'm not sure why I need this, as I don't see it on every project (for
example, I am not seeing this in the Hextrapolate repo), but this issue
suggests both "global-strict" and "strict" might be needed:

  https://github.com/eslint/eslint/issues/2296

Not sure why, but in any case, it works. Without this hack, we see
problems like this:

> error  Rule 'global-strict' was removed and replaced by: strict  global-strict

(This is confusing, because this is a deprecation notice for
"global-strict", which doesn't appear anywhere in the project.)

With it, the error goes away. If you forget to include `"use strict"`
directive, you correctly get warned:

> error  Use the global form of "use strict"  strict

So, puzzling, but whatever. This gives us a clean lint.

7 years agoInitial import
Greg Hurrell [Thu, 6 Aug 2015 07:13:23 +0000 (00:13 -0700)] 
Initial import

Extracted from the hextrapolate repo
(https://github.com/wincent/hextrapolate).