@silohq/eslint-plugin-silo
v1.0.3
Published
ESLint rules for Silo frontend development.
Downloads
1,212
Readme
eslint-plugin-silo
ESLint rules for Silo frontend development.
Rules
no-cross-container-imports
Detects imports of anything from the containers/ directory. This is not allowed because it breaks our file organization conventions (no shared code in containers/) and also can cause performance issues by causing webpack to chunk containers together.
no-dynamic-i18n-strings
Detects calls to translation functions (i18n.t()
or t()
) whose first argument is a template literal that contains template variables.