Skip to content

Commit 551ca99

Browse files
committed
shiritori: eslint config fix
Change-Id: I70433b16baac27fb33aebf9b80fb0daa7e13c107
1 parent 23fef60 commit 551ca99

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

functions/.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
shiritori/node_modules/*
1+
shiritori/*

functions/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parserOptions": {
33
"ecmaVersion": 7,
4-
"sourceType": "script"
4+
"sourceType": "module"
55
},
66
"extends": ["semistandard"],
77
"env": {

functions/shiritori/.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"extends": ["standard"],
77
"env": {
88
"node": true
9+
},
10+
"rules": {
11+
"prefer-promise-reject-errors": "off"
912
}
1013
}

0 commit comments

Comments
 (0)