UNPKG
@vanta-inc/eslint-plugin-vanta
Version:
latest (1.0.0)
1.0.0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Custom ESLint rules for Vanta
github.com/VantaInc/eslint-plugin-vanta
VantaInc/eslint-plugin-vanta
@vanta-inc/eslint-plugin-vanta
/
lib
/
rules
/
common-absolute-import.ts
12 lines
(7 loc)
•
241 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** *
@fileoverview
Ensure that imports from common/ are absolute instead of relative. */
import
absoluteImportRule
from
"../absolute-import-rule"
;
const
rule =
absoluteImportRule
(
"common"
);
module
.
exports
= rule;
export
default
rule;