UNPKG
@sourcegraph/stylelint-plugin-sourcegraph
Version:
latest (1.0.1)
1.0.1
Custom stylelint rules for Sourcegraph
github.com/sourcegraph/codemod
sourcegraph/codemod
@sourcegraph/stylelint-plugin-sourcegraph
/
dist
/
rules
/
no-restricted-imports
/
no-restricted-imports.d.ts
6 lines
(5 loc)
•
268 B
TypeScript
View Raw
1
2
3
4
5
6
export
declare
const
ruleName =
"@sourcegraph/no-restricted-imports"
;
export
declare
const
messages
: {
rejected
:
(
importPath
:
string
|
number
|
boolean
|
RegExp
) =>
string
; };
export
declare
const
noRestrictedImports
:
import
(
"../../utils"
).
DefaultStylelintPlugin
;