Skip to content

Commit

Permalink
style(lint): enabling strict rule
Browse files Browse the repository at this point in the history
  • Loading branch information
fishcharlie committed Feb 17, 2019
1 parent 7cd3666 commit 275c78a
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = {
'no-console': 'off',
'one-var': 'off',
'padded-blocks': 'off',
'strict': 'off',
'max-len': 'off',
'init-declarations': 'off',
'func-names': 'off',
Expand Down
2 changes: 2 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

module.exports = {
'extends': ['@commitlint/config-conventional']
};
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const lib = require('./lib');
exports = lib;
module.exports = lib;
2 changes: 2 additions & 0 deletions lib/Listener.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const debug = require('debug');

function Listener (type, stage, func, plugin) {
Expand Down
2 changes: 2 additions & 0 deletions lib/Plugin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const debug = require('debug')('dynamoose:plugin');
const Listener = require('./Listener');

Expand Down
2 changes: 2 additions & 0 deletions lib/VirtualType.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const debug = require('debug')('dynamoose:virtualtype');

/**
Expand Down
2 changes: 2 additions & 0 deletions lib/reserved-keywords.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

// @see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html

const RESERVED_KEYWORDS_LIST = [
Expand Down
2 changes: 2 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

module.exports = {
'plugins': ['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', ['@semantic-release/changelog', {'changelogTitle': '# Dynamoose Changelog'}], '@semantic-release/npm', '@semantic-release/git']
};
2 changes: 2 additions & 0 deletions test/setup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const DynamoDbLocal = require('dynamodb-local');
const DYNAMO_DB_PORT = 8000;

Expand Down

0 comments on commit 275c78a

Please sign in to comment.