eslint-plugin-pri
v0.0.5
Published
eslint plugin for pri
Downloads
3
Readme
Usage
Add pri
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["pri"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"pri/no-src-import": 2,
"pri/no-self-import": 2
}
}
Supported Rules
no-src-import
: Forbid import another package using relative pathno-self-import
: Forbid import package using name in the package itself