Skip to content

Commit

Permalink
Merge pull request rails#47665 from skipkayhil/fix-coffeelint-build
Browse files Browse the repository at this point in the history
Fix "keyword 'const' is reserved" lint error
  • Loading branch information
jonathanhefner committed Mar 17, 2023
2 parents 8635ee2 + 76e2677 commit 0fec953
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actionview/test/ujs/public/test/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ rules:
comma-spacing: 'error'
comma-dangle: 'off'
eol-last: 'error'
parserOptions:
ecmaVersion: 6
2 changes: 1 addition & 1 deletion actionview/test/ujs/public/test/data-method.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ asyncTest('do not interact with contenteditable elements', 6, function() {

collection = document.getElementsByTagName('form')
for (const item of collection) {
notEqual(item.action, "http://www.shouldnevershowindocument.com/")
notEqual(item.action, 'http://www.shouldnevershowindocument.com/')
}
})

Expand Down

0 comments on commit 0fec953

Please sign in to comment.