add type annotations to local plugins
This commit is contained in:
@@ -29,6 +29,7 @@ function getTagName(node) {
|
|||||||
return reversedIdentifiers.reverse().join('.')
|
return reversedIdentifiers.reverse().join('.')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @type {import('eslint').Rule.RuleModule} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
meta: {
|
meta: {
|
||||||
type: 'problem',
|
type: 'problem',
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ const BANNED_IMPORTS = [
|
|||||||
'@fortawesome/free-solid-svg-icons',
|
'@fortawesome/free-solid-svg-icons',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
/** @type {import('eslint').Rule.RuleModule} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
meta: {
|
meta: {
|
||||||
type: 'suggestion',
|
type: 'suggestion',
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ const BANNED_IMPORT_PREFIXES = [
|
|||||||
'view/',
|
'view/',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
/** @type {import('eslint').Rule.RuleModule} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
meta: {
|
meta: {
|
||||||
type: 'suggestion',
|
type: 'suggestion',
|
||||||
|
|||||||
Reference in New Issue
Block a user