eslint: comma-dangle for language files

pull/391/head^2
LouisLam 3 years ago
parent 8205f90f3d
commit 7df9698e5d

@ -82,4 +82,12 @@ module.exports = {
"one-var": ["error", "never"],
"max-statements-per-line": ["error", { "max": 1 }]
},
"overrides": [
{
"files": [ "src/languages/*.js" ],
"rules": {
"comma-dangle": ["error", "always-multiline"],
}
}
]
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -114,8 +114,8 @@ export default {
"Repeat Password": "Wiederhole das Passwort",
"Resource Record Type": "Resource Record Type",
"Import/Export Backup": "Import/Export Backup",
"Export": "Export",
"Import": "Import",
Export: "Export",
Import: "Import",
respTime: "Antw. Zeit (ms)",
notAvailableShort: "N/A",
"Default enabled": "Standardmäßig aktiviert",
@ -142,5 +142,5 @@ export default {
Inactive: "Inaktiv",
Token: "Token",
"Show URI": "URI Anzeigen",
"Clear all statistics": "Lösche alle Statistiken"
"Clear all statistics": "Lösche alle Statistiken",
}

@ -142,5 +142,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -143,5 +143,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -142,5 +142,5 @@ export default {
Inactive: "Inactive",
Token: "Token",
"Show URI": "Show URI",
"Clear all statistics": "Clear all Statistics"
"Clear all statistics": "Clear all Statistics",
}

@ -142,5 +142,5 @@ export default {
Inactive: "未生效",
Token: "Token",
"Show URI": "顯示 URI",
"Clear all statistics": "清除所有歷史記錄"
"Clear all statistics": "清除所有歷史記錄",
}

@ -219,6 +219,7 @@ export default {
dnsresolvetypeOptions: [],
// Source: https://digitalfortress.tech/tips/top-15-commonly-used-regex/
// eslint-disable-next-line
ip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