From de6e7a56b6f384bc7fc456917935738821583451 Mon Sep 17 00:00:00 2001 From: Merott Movahedi Date: Tue, 10 Jun 2014 01:16:34 +0100 Subject: [PATCH] feat(lint): require 'use strict' Require `'use strict'` directives by default and fail the lint if not set. --- package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f17277e..51b99e3 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,14 @@ "coffeescript-lint": { "failOnError": { "fail": true + }, + "lint": { + "use_strict": { + "module": "coffeelint-use-strict", + "level": "error", + "allowGlobal": true, + "requireGlobal": false + } } }, "coffeescript-compile": { @@ -56,6 +64,7 @@ }, "dependencies": { "gulp-coffee": "^1.4.1", - "gulp-coffeelint": "^0.3.2" + "gulp-coffeelint": "^0.3.2", + "coffeelint-use-strict": "0.0.1" } }