aboutsummaryrefslogtreecommitdiff
path: root/node_modules/nodemailer/.eslintrc.js
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-08-24 08:52:06 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-08-24 08:52:06 +0000
commitd96e93e81f98d18aa84f701b578f4239020652c3 (patch)
tree836059ba6a7c45ba549f7c860b741382c6ec1015 /node_modules/nodemailer/.eslintrc.js
parentba43bb22a514a5100ae65ebbdd2d9c5581b2c01d (diff)
Implemented the password reset function
Diffstat (limited to 'node_modules/nodemailer/.eslintrc.js')
-rw-r--r--node_modules/nodemailer/.eslintrc.js59
1 files changed, 59 insertions, 0 deletions
diff --git a/node_modules/nodemailer/.eslintrc.js b/node_modules/nodemailer/.eslintrc.js
new file mode 100644
index 0000000..0e60cf1
--- /dev/null
+++ b/node_modules/nodemailer/.eslintrc.js
@@ -0,0 +1,59 @@
+'use strict';
+
+module.exports = {
+ rules: {
+ indent: [2, 4, {
+ SwitchCase: 1
+ }],
+ quotes: [2, 'single'],
+ 'linebreak-style': [2, 'unix'],
+ semi: [2, 'always'],
+ strict: [2, 'global'],
+ eqeqeq: 2,
+ 'dot-notation': 2,
+ curly: 2,
+ 'no-fallthrough': 2,
+ 'quote-props': [2, 'as-needed'],
+ 'no-unused-expressions': [2, {
+ allowShortCircuit: true
+ }],
+ 'no-unused-vars': 2,
+ 'no-undef': 2,
+ 'handle-callback-err': 2,
+ 'no-new': 2,
+ 'new-cap': 2,
+ 'no-eval': 2,
+ 'no-invalid-this': 2,
+ radix: [2, 'always'],
+ 'no-use-before-define': [2, 'nofunc'],
+ 'callback-return': [2, ['callback', 'cb', 'done']],
+ 'comma-dangle': [2, 'never'],
+ 'comma-style': [2, 'last'],
+ 'no-regex-spaces': 2,
+ 'no-empty': 2,
+ 'no-duplicate-case': 2,
+ 'no-empty-character-class': 2,
+ 'no-redeclare': [2, {
+ builtinGlobals: true
+ }],
+ 'block-scoped-var': 2,
+ 'no-sequences': 2,
+ 'no-throw-literal': 2,
+ 'no-useless-concat': 2,
+ 'no-void': 2,
+ yoda: 2,
+ 'no-bitwise': 2,
+ 'no-lonely-if': 2,
+ 'no-mixed-spaces-and-tabs': 2,
+ 'no-console': 2
+ },
+ env: {
+ es6: false,
+ node: true
+ },
+ extends: 'eslint:recommended',
+ fix: true,
+ globals: {
+ Promise: false
+ }
+};