diff options
author | James Maa <jmaa@berkeley.edu> | 2024-05-31 08:06:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 15:06:52 +0000 |
commit | 76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 (patch) | |
tree | bdba43d9ba704885383c7f308c6fe3f574c647c5 /test/handlebars.test.js | |
parent | b3f54747eb2694bdc90bce72e5532e99d374ef08 (diff) |
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule
* Fix dangling commas
Diffstat (limited to 'test/handlebars.test.js')
-rw-r--r-- | test/handlebars.test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/handlebars.test.js b/test/handlebars.test.js index 8a566f4c..65e3d996 100644 --- a/test/handlebars.test.js +++ b/test/handlebars.test.js @@ -39,7 +39,7 @@ describe('Handlebars', () => { const template = '{{~test1~}}'; const data = { - test1: '<div style="font-size: 4em;">Test</div>' + test1: '<div style="font-size: 4em;">Test</div>', }; const instance1 = compile(template); @@ -56,8 +56,8 @@ describe('Handlebars', () => { const data = { test1: { - test2: '<div style="font-size: 4em;">Test</div>' - } + test2: '<div style="font-size: 4em;">Test</div>', + }, }; const instance1 = compile(template); |