File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55 "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "defaults|request" }],
66 "max-classes-per-file": "off",
77 "tsdoc/syntax": "off",
8- "no-underscore-dangle": ["error", { "allowAfterThis": true }]
8+ "no-underscore-dangle": ["error", { "allowAfterThis": true }],
9+ "deprecation/deprecation": "off"
910 }
1011}
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export const assertValidSettings = (obj: Readonly<Settings>): void => {
101101 // API URL.
102102 if ( ! isURL ( obj . apiURL ) ) throw new Error ( `Invalid URL ${ obj . apiURL } ` )
103103
104- if ( obj . apiURL . substr ( - 1 ) === '/' )
104+ if ( obj . apiURL . slice ( - 1 ) === '/' )
105105 throw new Error (
106106 `Invalid URL ${ obj . apiURL } : it should not have a trailing slash` ,
107107 )
You can’t perform that action at this time.
0 commit comments