Skip to content

Commit

Permalink
Merge pull request #1458 from weather-gov/eg-translations-testing-exp…
Browse files Browse the repository at this point in the history
…eriments

Translation consistency checking
  • Loading branch information
eric-gade committed Jul 24, 2024
2 parents 0cfd2ae + dc8156b commit 75f76b7
Show file tree
Hide file tree
Showing 19 changed files with 1,128 additions and 42 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module.exports = {
extends: ["airbnb-base", "prettier"],
ignorePatterns: ["uswds*.js"],
ignorePatterns: [
"tests/translations/**/*.js",
"uswds*.js"
],
rules: {
// For imports in the browser, file extensions are always required.
"import/extensions": ["error", "always"],
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ php-format: ## Format your PHP code according to the Drupal PHP language standar
style-format: ## Format your Sass code according to our style code.
npm run style-format

### Other checks
ct: check-translations
check-translations: ## Check the consistency of translations
npm run check-translations

### Composer management
ci: composer-install
composer-install: ## Installs dependencies from lock file
Expand Down
Loading

0 comments on commit 75f76b7

Please sign in to comment.