Skip to content

Commit

Permalink
Added Substring method to globals
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Oct 5, 2020
1 parent e5a7547 commit a068d75
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2016 Jörn Berkefeld / joern.berkefeld@gmail.com
* Copyright 2020 Jörn Berkefeld / joern.berkefeld@gmail.com
*
* Licensed under the MIT License.
*/
Expand All @@ -12,7 +12,7 @@ module.exports = {
{
files: ['*.ssjs'],
parserOptions: {
ecmaVersion: 3
ecmaVersion: 3,
},
rules: {
'comma-dangle': ['error', 'never'],
Expand All @@ -22,8 +22,8 @@ module.exports = {
'no-new': 'error',
'no-prototype-builtins': 'off',
'no-throw-literal': 'off',
'no-use-before-define': ['error', { 'variables': true, 'functions': false, 'classes': false }],
'no-var': 'off'
'no-use-before-define': ['error', { variables: true, functions: false, classes: false }],
'no-var': 'off',
},
globals: {
Account: false,
Expand Down Expand Up @@ -60,11 +60,12 @@ module.exports = {
SenderProfile: false,
Stringify: false,
Subscriber: false,
Substring: false,
Template: false,
TriggeredSend: false,
Variable: false,
Write: false
}
}
]
Write: false,
},
},
],
};

0 comments on commit a068d75

Please sign in to comment.