Skip to content

Commit 62fcb08

Browse files
committed
Add use strict usages
1 parent b7db4bc commit 62fcb08

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+101
-0
lines changed

.eslintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ module.exports = {
33
"plugins": [
44
"import"
55
],
6+
"rules": {
7+
"func-names": "off",
8+
9+
// support for node v4
10+
"strict": "off",
11+
"prefer-rest-params": "off",
12+
"react/require-extension" : "off",
13+
"import/no-extraneous-dependencies" : "off"
14+
},
615
"env": {
716
"jest": true
817
}

deploy/googleDeploy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const BbPromise = require('bluebird');
24

35
const validate = require('../shared/validate');

deploy/googleDeploy.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const sinon = require('sinon');
24
const BbPromise = require('bluebird');
35

deploy/lib/cleanupDeploymentBucket.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const BbPromise = require('bluebird');
24
const _ = require('lodash');
35

deploy/lib/cleanupDeploymentBucket.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const sinon = require('sinon');
24
const BbPromise = require('bluebird');
35

deploy/lib/compileFunctions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
/* eslint no-use-before-define: 0 */
24

35
const path = require('path');

deploy/lib/compileFunctions.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const sinon = require('sinon');
24

35
const GoogleProvider = require('../../provider/googleProvider');

deploy/lib/createDeployment.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const fs = require('fs');
24
const path = require('path');
35

deploy/lib/createDeployment.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const fs = require('fs');
24
const path = require('path');
35

deploy/lib/generateArtifactDirectoryName.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const BbPromise = require('bluebird');
24

35
module.exports = {

0 commit comments

Comments
 (0)