Skip to content

Commit

Permalink
core: add strict mode to src files
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeanroy committed Mar 2, 2017
1 parent 0f44fc8 commit e46fc9a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dependency.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* SOFTWARE.
*/

'use strict';

const _ = require('lodash');
const EOL = require('./eol.js');
const Person = require('./person.js');
Expand Down
2 changes: 2 additions & 0 deletions src/eol.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@
* SOFTWARE.
*/

'use strict';

module.exports = '\n';
2 changes: 2 additions & 0 deletions src/generate-block-comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* SOFTWARE.
*/

'use strict';

const commenting = require('commenting');

/**
Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* SOFTWARE.
*/

'use strict';

const LicensePlugin = require('./license-plugin.js');

module.exports = (options = {}) => {
Expand Down
2 changes: 2 additions & 0 deletions src/license-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* SOFTWARE.
*/

'use strict';

const fs = require('fs');
const path = require('path');
const mkdirp = require('mkdirp');
Expand Down
2 changes: 2 additions & 0 deletions src/person.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* SOFTWARE.
*/

'use strict';

const _ = require('lodash');

/**
Expand Down

0 comments on commit e46fc9a

Please sign in to comment.