Implement Translator: i18n system

This commit is contained in:
Nolway 2021-12-08 01:34:50 +01:00 committed by Alexis Faizeau
parent 5f62894d56
commit 8a2767ef40
16 changed files with 393 additions and 47 deletions

View file

@ -8,7 +8,7 @@ module.exports = {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
"plugin:@typescript-eslint/recommended-requiring-type-checking",
],
"globals": {
"Atomics": "readonly",
@ -23,7 +23,7 @@ module.exports = {
},
"plugins": [
"@typescript-eslint",
"svelte3"
"svelte3",
],
"overrides": [
{
@ -33,6 +33,7 @@ module.exports = {
],
"rules": {
"no-unused-vars": "off",
"eol-last": ["error", "always"],
"@typescript-eslint/no-explicit-any": "error",
"no-throw-literal": "error",
// TODO: remove those ignored rules and write a stronger code!