summaryrefslogtreecommitdiff
path: root/test/language/spanish-transforms.test.js
diff options
context:
space:
mode:
authorJames Maa <jmaa@berkeley.edu>2024-05-31 08:06:52 -0700
committerGitHub <noreply@github.com>2024-05-31 15:06:52 +0000
commit76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 (patch)
treebdba43d9ba704885383c7f308c6fe3f574c647c5 /test/language/spanish-transforms.test.js
parentb3f54747eb2694bdc90bce72e5532e99d374ef08 (diff)
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule * Fix dangling commas
Diffstat (limited to 'test/language/spanish-transforms.test.js')
-rw-r--r--test/language/spanish-transforms.test.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/language/spanish-transforms.test.js b/test/language/spanish-transforms.test.js
index 7a6ab729..0af2587a 100644
--- a/test/language/spanish-transforms.test.js
+++ b/test/language/spanish-transforms.test.js
@@ -34,15 +34,15 @@ const tests = [
{term: 'sí', source: 'síes', rule: 'ns', reasons: ['plural']},
{term: 'zigzag', source: 'zigzags', rule: 'ns', reasons: ['plural']},
{term: 'luz', source: 'luces', rule: 'ns', reasons: ['plural']},
- {term: 'canción', source: 'canciones', rule: 'ns', reasons: ['plural']}
- ]
+ {term: 'canción', source: 'canciones', rule: 'ns', reasons: ['plural']},
+ ],
},
{
category: 'feminine adjectives',
valid: true,
tests: [
- {term: 'rojo', source: 'roja', rule: 'adj', reasons: ['feminine adjective']}
- ]
+ {term: 'rojo', source: 'roja', rule: 'adj', reasons: ['feminine adjective']},
+ ],
},
{
category: 'present indicative verbs',
@@ -90,9 +90,9 @@ const tests = [
{term: 'ser', source: 'soy', rule: 'v', reasons: ['present indicative']},
{term: 'estar', source: 'estoy', rule: 'v', reasons: ['present indicative']},
{term: 'ir', source: 'voy', rule: 'v', reasons: ['present indicative']},
- {term: 'haber', source: 'he', rule: 'v', reasons: ['present indicative']}
- ]
- }
+ {term: 'haber', source: 'he', rule: 'v', reasons: ['present indicative']},
+ ],
+ },
];
const languageTransformer = new LanguageTransformer();