Skip to content

Commit

Permalink
chore: Relax line limit on linter + minor delinting
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Sep 22, 2022
1 parent 6476916 commit 4893adb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ module.exports = {
"rules": {
"comma-dangle": "off",
"no-var": "off",
"max-len": [
"error", {
"code": 100,
"ignoreUrls": true
}
],
"generator-star-spacing": ["error", {"anonymous": "neither"}],
}
};
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions samples/Onshape.gs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function run() {
});
var result = JSON.parse(response.getContentText());
Logger.log(JSON.stringify(result, null, 2));
} else {
} else {
var authorizationUrl = service.getAuthorizationUrl();
Logger.log('Open the following URL and re-run the script: %s',
authorizationUrl);
Expand Down Expand Up @@ -78,4 +78,4 @@ function authCallback(request) {
*/
function logRedirectUri() {
Logger.log(OAuth2.getRedirectUri());
}
}
4 changes: 2 additions & 2 deletions samples/Twitter.gs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ function run() {
*/
function reset() {
getService_().reset();
PropertiesService.getUserProperties().deleteProperty("code_challenge");
PropertiesService.getUserProperties().deleteProperty("code_verifier");
PropertiesService.getUserProperties().deleteProperty('code_challenge');
PropertiesService.getUserProperties().deleteProperty('code_verifier');
}

/**
Expand Down

0 comments on commit 4893adb

Please sign in to comment.