aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language/la
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 /ext/js/language/la
parentb3f54747eb2694bdc90bce72e5532e99d374ef08 (diff)
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule * Fix dangling commas
Diffstat (limited to 'ext/js/language/la')
-rw-r--r--ext/js/language/la/latin-transforms.js68
1 files changed, 34 insertions, 34 deletions
diff --git a/ext/js/language/la/latin-transforms.js b/ext/js/language/la/latin-transforms.js
index 5616adce..559420d5 100644
--- a/ext/js/language/la/latin-transforms.js
+++ b/ext/js/language/la/latin-transforms.js
@@ -25,105 +25,105 @@ export const latinTransforms = {
conditions: {
v: {
name: 'Verb',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n: {
name: 'Noun',
isDictionaryForm: true,
- subConditions: ['ns', 'np']
+ subConditions: ['ns', 'np'],
},
ns: {
name: 'Noun, singular',
isDictionaryForm: true,
- subConditions: ['n1s', 'n2s', 'n3s', 'n4s', 'n5s']
+ subConditions: ['n1s', 'n2s', 'n3s', 'n4s', 'n5s'],
},
np: {
name: 'Noun, plural',
isDictionaryForm: true,
- subConditions: ['n1p', 'n2p', 'n3p', 'n4p', 'n5p']
+ subConditions: ['n1p', 'n2p', 'n3p', 'n4p', 'n5p'],
},
n1: {
name: 'Noun, 1st declension',
isDictionaryForm: true,
- subConditions: ['n1s', 'n1p']
+ subConditions: ['n1s', 'n1p'],
},
n1p: {
name: 'Noun, 1st declension, plural',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n1s: {
name: 'Noun, 1st declension, singular',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n2: {
name: 'Noun, 2nd declension',
isDictionaryForm: true,
- subConditions: ['n2s', 'n2p']
+ subConditions: ['n2s', 'n2p'],
},
n2p: {
name: 'Noun, 2nd declension, plural',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n2s: {
name: 'Noun, 2nd declension, singular',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n3: {
name: 'Noun, 3rd declension',
isDictionaryForm: true,
- subConditions: ['n3s', 'n3p']
+ subConditions: ['n3s', 'n3p'],
},
n3p: {
name: 'Noun, 3rd declension, plural',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n3s: {
name: 'Noun, 3rd declension, singular',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n4: {
name: 'Noun, 4th declension',
isDictionaryForm: true,
- subConditions: ['n4s', 'n4p']
+ subConditions: ['n4s', 'n4p'],
},
n4p: {
name: 'Noun, 4th declension, plural',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n4s: {
name: 'Noun, 4th declension, singular',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n5: {
name: 'Noun, 5th declension',
isDictionaryForm: true,
- subConditions: ['n5s', 'n5p']
+ subConditions: ['n5s', 'n5p'],
},
n5p: {
name: 'Noun, 5th declension, plural',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n5s: {
name: 'Noun, 5th declension, singular',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
adj: {
name: 'Adjective',
isDictionaryForm: true,
- subConditions: ['adj3', 'adj12']
+ subConditions: ['adj3', 'adj12'],
},
adj12: {
name: 'Adjective, 1st-2nd declension',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
adj3: {
name: 'Adjective, 3rd declension',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
adv: {
name: 'Adverb',
- isDictionaryForm: true
- }
+ isDictionaryForm: true,
+ },
},
transforms: [
{
@@ -134,29 +134,29 @@ export const latinTransforms = {
suffixInflection('i', 'us', ['adj12'], ['adj12']),
suffixInflection('e', '', ['n1p'], ['n1s']),
suffixInflection('ae', 'a', ['adj12'], ['adj12']),
- suffixInflection('a', 'um', ['adj12'], ['adj12'])
- ]
+ suffixInflection('a', 'um', ['adj12'], ['adj12']),
+ ],
},
{
name: 'feminine',
description: 'Adjective form',
rules: [
- suffixInflection('a', 'us', ['adj12'], ['adj12'])
- ]
+ suffixInflection('a', 'us', ['adj12'], ['adj12']),
+ ],
},
{
name: 'neuter',
description: 'Adjective form',
rules: [
- suffixInflection('um', 'us', ['adj12'], ['adj12'])
- ]
+ suffixInflection('um', 'us', ['adj12'], ['adj12']),
+ ],
},
{
name: 'ablative',
description: 'Ablative case',
rules: [
- suffixInflection('o', 'um', ['n2s'], ['n2s'])
- ]
- }
- ]
+ suffixInflection('o', 'um', ['n2s'], ['n2s']),
+ ],
+ },
+ ],
};