Excluding message catalog build files

extract command creates temporary message catalogs per each source file. Also, compile command generates compiled message catalogs from source ones. All these files can be safely ignored from VCS and linters.

Replace locales in paths below with your custom localeDir from configuration.

  • locales/_build/

  • locales/**/*.js

Git

Add following lines to your .gitignore:

locales/_build/
locales/**/*.js

ESLint

Specify which directories to lint explicitely or add following lines to your .eslintignore:

locales/_build/
locales/**/*.js