1.1.0 • Published 4 years ago
eslint-plugin-ifit-monolith-rules v1.1.0
eslint-custom-rules-monolith
Custom ESLint rules for use with the monolith
Rules
block-invalid-imports
: A rule to disable the usage of imports from folders that will not exist in production builds. It uses the .dockerignore
file to determine excluded release folders. There are no extended options to this rule beyond the standard 0 - disabled
, 1 - warning
, and 2 - error
built into ESLint.
Usage
.eslintrc
{
"plugins": ["ifit-monolith-rules"],
"rules": {
"ifit-monolith-rules/block-invalid-imports": 2
}
}
1.1.0
4 years ago