aboutsummaryrefslogtreecommitdiff
path: root/ext/js/language/sq/albanian-transforms.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 /ext/js/language/sq/albanian-transforms.js
parentb3f54747eb2694bdc90bce72e5532e99d374ef08 (diff)
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule * Fix dangling commas
Diffstat (limited to 'ext/js/language/sq/albanian-transforms.js')
-rw-r--r--ext/js/language/sq/albanian-transforms.js144
1 files changed, 72 insertions, 72 deletions
diff --git a/ext/js/language/sq/albanian-transforms.js b/ext/js/language/sq/albanian-transforms.js
index 53faffec..37657f49 100644
--- a/ext/js/language/sq/albanian-transforms.js
+++ b/ext/js/language/sq/albanian-transforms.js
@@ -28,7 +28,7 @@ function conjugationIISuffixInflection(inflectedSuffix, deinflectedSuffix, condi
return {
...suffixInflection(inflectedSuffix, deinflectedSuffix, conditionsIn, conditionsOut),
type: 'other',
- isInflected: new RegExp('.*[^j]' + inflectedSuffix + '$')
+ isInflected: new RegExp('.*[^j]' + inflectedSuffix + '$'),
};
}
@@ -38,29 +38,29 @@ export const albanianTransforms = {
conditions: {
v: {
name: 'Verb',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
n: {
name: 'Noun',
isDictionaryForm: true,
- subConditions: ['np', 'ns']
+ subConditions: ['np', 'ns'],
},
np: {
name: 'Noun plural',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
ns: {
name: 'Noun singular',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
adj: {
name: 'Adjective',
- isDictionaryForm: true
+ isDictionaryForm: true,
},
adv: {
name: 'Adverb',
- isDictionaryForm: true
- }
+ isDictionaryForm: true,
+ },
},
transforms: [
// Nouns
@@ -82,23 +82,23 @@ export const albanianTransforms = {
// Feminine
suffixInflection('a', 'ë', [], ['n']),
suffixInflection('a', '', [], ['n']),
- suffixInflection('ja', 'e', [], ['n'])
- ]
+ suffixInflection('ja', 'e', [], ['n']),
+ ],
},
{
name: 'singular definite accusative',
description: 'Singular definite accusative form of a noun',
rules: [
- suffixInflection('n', '', [], ['n'])
- ]
+ suffixInflection('n', '', [], ['n']),
+ ],
},
{
name: 'plural',
description: 'Plural form of a noun',
rules: [
suffixInflection('e', '', ['np'], ['ns']),
- suffixInflection('t', '', ['np'], ['ns'])
- ]
+ suffixInflection('t', '', ['np'], ['ns']),
+ ],
},
// Verbs
{
@@ -108,8 +108,8 @@ export const albanianTransforms = {
suffixInflection('on', 'oj', [], ['v']),
suffixInflection('uan', 'uaj', [], ['v']),
suffixInflection('n', 'j', [], ['v']),
- suffixInflection('hesh', 'hem', [], ['v'])
- ]
+ suffixInflection('hesh', 'hem', [], ['v']),
+ ],
},
{
name: 'present indicative third-person singular',
@@ -118,8 +118,8 @@ export const albanianTransforms = {
suffixInflection('on', 'oj', [], ['v']),
suffixInflection('uan', 'uaj', [], ['v']),
suffixInflection('n', 'j', [], ['v']),
- suffixInflection('het', 'hem', [], ['v'])
- ]
+ suffixInflection('het', 'hem', [], ['v']),
+ ],
},
{
name: 'present indicative first-person plural',
@@ -127,8 +127,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('më', '', [], ['v']),
suffixInflection('im', '', [], ['v']),
- suffixInflection('hemi', 'hem', [], ['v'])
- ]
+ suffixInflection('hemi', 'hem', [], ['v']),
+ ],
},
{
name: 'present indicative second-person plural',
@@ -136,8 +136,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('ni', 'j', [], ['v']),
suffixInflection('ni', '', [], ['v']),
- suffixInflection('heni', 'hem', [], ['v'])
- ]
+ suffixInflection('heni', 'hem', [], ['v']),
+ ],
},
{
name: 'present indicative third-person plural',
@@ -145,8 +145,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('në', '', [], ['v']),
suffixInflection('in', '', [], ['v']),
- suffixInflection('hen', 'hem', [], ['v'])
- ]
+ suffixInflection('hen', 'hem', [], ['v']),
+ ],
},
{
name: 'imperfect first-person singular indicative',
@@ -154,8 +154,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('ja', 'j', [], ['v']),
suffixInflection('ja', '', [], ['v']),
- suffixInflection('hesha', 'hem', [], ['v'])
- ]
+ suffixInflection('hesha', 'hem', [], ['v']),
+ ],
},
{
name: 'imperfect second-person singular indicative',
@@ -163,8 +163,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('je', 'j', [], ['v']),
suffixInflection('je', '', [], ['v']),
- suffixInflection('heshe', 'hem', [], ['v'])
- ]
+ suffixInflection('heshe', 'hem', [], ['v']),
+ ],
},
{
name: 'imperfect third-person singular indicative',
@@ -172,8 +172,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('nte', 'j', [], ['v']),
suffixInflection('te', '', [], ['v']),
- suffixInflection('hej', 'hem', [], ['v'])
- ]
+ suffixInflection('hej', 'hem', [], ['v']),
+ ],
},
{
name: 'imperfect first-person plural indicative',
@@ -181,8 +181,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('nim', 'j', [], ['v']),
suffixInflection('nim', '', [], ['v']),
- suffixInflection('heshim', 'hem', [], ['v'])
- ]
+ suffixInflection('heshim', 'hem', [], ['v']),
+ ],
},
{
name: 'imperfect second-person plural indicative',
@@ -190,8 +190,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('nit', 'j', [], ['v']),
suffixInflection('nit', '', [], ['v']),
- suffixInflection('heshit', 'hem', [], ['v'])
- ]
+ suffixInflection('heshit', 'hem', [], ['v']),
+ ],
},
{
name: 'imperfect third-person plural indicative',
@@ -199,8 +199,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('nin', 'j', [], ['v']),
suffixInflection('nin', '', [], ['v']),
- suffixInflection('heshin', 'hem', [], ['v'])
- ]
+ suffixInflection('heshin', 'hem', [], ['v']),
+ ],
},
{
name: 'aorist first-person singular indicative',
@@ -208,8 +208,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('ova', 'uaj', [], ['v']),
suffixInflection('va', 'j', [], ['v']),
- conjugationIISuffixInflection('a', '', [], ['v'])
- ]
+ conjugationIISuffixInflection('a', '', [], ['v']),
+ ],
},
{
name: 'aorist second-person singular indicative',
@@ -217,8 +217,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('ove', 'uaj', [], ['v']),
suffixInflection('ve', 'j', [], ['v']),
- conjugationIISuffixInflection('e', '', [], ['v'])
- ]
+ conjugationIISuffixInflection('e', '', [], ['v']),
+ ],
},
{
name: 'aorist third-person singular indicative',
@@ -228,8 +228,8 @@ export const albanianTransforms = {
suffixInflection('oi', 'uaj', [], ['v']),
suffixInflection('u', 'j', [], ['v']),
conjugationIISuffixInflection('i', '', [], ['v']),
- suffixInflection('ye', 'ej', [], ['v'])
- ]
+ suffixInflection('ye', 'ej', [], ['v']),
+ ],
},
{
name: 'aorist first-person plural indicative',
@@ -238,8 +238,8 @@ export const albanianTransforms = {
suffixInflection('uam', 'oj', [], ['v']),
suffixInflection('uam', 'uaj', [], ['v']),
suffixInflection('më', 'j', [], ['v']),
- conjugationIISuffixInflection('ëm', '', [], ['v'])
- ]
+ conjugationIISuffixInflection('ëm', '', [], ['v']),
+ ],
},
{
name: 'aorist second-person plural indicative',
@@ -248,8 +248,8 @@ export const albanianTransforms = {
suffixInflection('uat', 'oj', [], ['v']),
suffixInflection('uat', 'uaj', [], ['v']),
suffixInflection('të', 'j', [], ['v']),
- conjugationIISuffixInflection('ët', '', [], ['v'])
- ]
+ conjugationIISuffixInflection('ët', '', [], ['v']),
+ ],
},
{
name: 'aorist third-person plural indicative',
@@ -258,16 +258,16 @@ export const albanianTransforms = {
suffixInflection('uan', 'oj', [], ['v']),
suffixInflection('uan', 'uaj', [], ['v']),
suffixInflection('në', 'j', [], ['v']),
- conjugationIISuffixInflection('ën', '', [], ['v'])
- ]
+ conjugationIISuffixInflection('ën', '', [], ['v']),
+ ],
},
{
name: 'imperative second-person singular present',
description: 'Imperative second-person singular present form of a verb',
rules: [
suffixInflection('o', 'oj', [], ['v']),
- suffixInflection('hu', 'hem', [], ['v'])
- ]
+ suffixInflection('hu', 'hem', [], ['v']),
+ ],
},
{
name: 'imperative second-person plural present',
@@ -275,8 +275,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('ni', 'j', [], ['v']),
suffixInflection('ni', '', [], ['v']),
- suffixInflection('huni', 'hem', [], ['v'])
- ]
+ suffixInflection('huni', 'hem', [], ['v']),
+ ],
},
{
name: 'participle',
@@ -285,58 +285,58 @@ export const albanianTransforms = {
suffixInflection('uar', 'oj', [], ['v']),
suffixInflection('ur', '', [], ['v']),
suffixInflection('rë', 'j', [], ['v']),
- suffixInflection('yer', 'ej', [], ['v'])
- ]
+ suffixInflection('yer', 'ej', [], ['v']),
+ ],
},
{
name: 'mediopassive',
description: 'Mediopassive form of a verb',
rules: [
suffixInflection('hem', 'h', ['v'], ['v']),
- suffixInflection('hem', 'j', ['v'], ['v'])
- ]
+ suffixInflection('hem', 'j', ['v'], ['v']),
+ ],
},
{
name: 'optative first-person singular present',
description: 'Optative first-person singular present form of a verb',
rules: [
- suffixInflection('fsha', 'j', [], ['v'])
- ]
+ suffixInflection('fsha', 'j', [], ['v']),
+ ],
},
{
name: 'optative second-person singular present',
description: 'Optative second-person singular present form of a verb',
rules: [
- suffixInflection('fsh', 'j', [], ['v'])
- ]
+ suffixInflection('fsh', 'j', [], ['v']),
+ ],
},
{
name: 'optative third-person singular present',
description: 'Optative third-person singular present form of a verb',
rules: [
- suffixInflection('ftë', 'j', [], ['v'])
- ]
+ suffixInflection('ftë', 'j', [], ['v']),
+ ],
},
{
name: 'optative first-person plural present',
description: 'Optative first-person plural present form of a verb',
rules: [
- suffixInflection('fshim', 'j', [], ['v'])
- ]
+ suffixInflection('fshim', 'j', [], ['v']),
+ ],
},
{
name: 'optative second-person plural present',
description: 'Optative second-person plural present form of a verb',
rules: [
- suffixInflection('fshi', 'j', [], ['v'])
- ]
+ suffixInflection('fshi', 'j', [], ['v']),
+ ],
},
{
name: 'optative third-person plural present',
description: 'Optative third-person plural present form of a verb',
rules: [
- suffixInflection('fshin', 'j', [], ['v'])
- ]
+ suffixInflection('fshin', 'j', [], ['v']),
+ ],
},
{
name: 'nominalization',
@@ -344,8 +344,8 @@ export const albanianTransforms = {
rules: [
suffixInflection('im', 'oj', [], ['v']),
suffixInflection('im', 'ej', [], ['v']),
- suffixInflection('je', '', [], ['v'])
- ]
- }
- ]
+ suffixInflection('je', '', [], ['v']),
+ ],
+ },
+ ],
};