Skip to content

Commit

Permalink
Merge pull request #844 from openSUSE/move_eslint_plugin
Browse files Browse the repository at this point in the history
Move the eslint-plugin-agama-i18n to a separate Git repository
  • Loading branch information
lslezak authored Nov 2, 2023
2 parents fed4db1 + 7603e53 commit 1b39428
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 228 deletions.
8 changes: 4 additions & 4 deletions doc/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

- [Internationalization (i18n)](#internationalization-i18n)
- [Using Translations](#using-translations)
- [URL Query Parameter](#url-query-parameter)
- [Language Selector](#language-selector)
- [URL Query Parameter](#url-query-parameter)
- [Translations](#translations)
- [The Workflow](#the-workflow)
- [Staging Translation Repository](#staging-translation-repository)
Expand Down Expand Up @@ -439,9 +439,9 @@ In both cases the strings will not be extracted to the POT file.
### ESLint Plugin
The [eslint-plugin-agama-i18n](../web/eslint-plugin-agama-i18n/) subdirectory
contains an ESLint plugin which ensures that a string literal is passed
to the translation function. See more details there.
There is special ESLint plugin [eslint-plugin-agama-i18n](
https://github.com/openSUSE/eslint-plugin-agama-i18n) which ensures that a
string literal is passed to the translation functions. See more details there.
### Testing Language
Expand Down
31 changes: 0 additions & 31 deletions web/eslint-plugin-agama-i18n/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions web/eslint-plugin-agama-i18n/eslint-plugin-agama-i18n.js

This file was deleted.

5 changes: 0 additions & 5 deletions web/eslint-plugin-agama-i18n/package.json

This file was deleted.

84 changes: 0 additions & 84 deletions web/eslint-plugin-agama-i18n/string-literals.js

This file was deleted.

62 changes: 0 additions & 62 deletions web/eslint-plugin-agama-i18n/string-literals.test.js

This file was deleted.

22 changes: 10 additions & 12 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-plugin-agama-i18n": "file:eslint-plugin-agama-i18n",
"eslint-plugin-agama-i18n": "https://github.com/openSUSE/eslint-plugin-agama-i18n/tarball/v0.1.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-i18next": "^6.0.3",
"eslint-plugin-import": "^2.22.1",
Expand Down

0 comments on commit 1b39428

Please sign in to comment.