Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rrd108 committed Sep 19, 2024
1 parent ec49713 commit 6e5344e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/rulesCheck.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { SFCDescriptor } from '@vue/compiler-sfc'
import type { OverrideConfig } from './types/Override'
import { getIsNuxt } from './context'
import { checkApiWithoutMethod, checkBigVif, checkBigVshow, checkComplicatedConditions, checkComputedSideEffects, checkCyclomaticComplexity, checkDeepIndentation, checkElseCondition, checkFunctionSize, checkHtmlImageElements, checkHtmlLink, checkIfWithoutCurlyBraces, checkMagicNumbers, checkNestedTernary, checkNoInlineStyles, checkNoPropDestructure, checkNoVarDeclaration, checkParameterCount, checkPlainScript, checkPropsDrilling, checkScriptLength, checkShortVariableName, checkTooManyProps, checkVForWithIndexKey, checkZeroLengthComparison } from './rules/rrd'
import { RULES } from './rules/rules'
Expand Down
1 change: 0 additions & 1 deletion src/rulesReport.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { GroupBy, Health, Offense, OffensesGrouped, OutputLevel, ReportFunction, SortBy } from './types'
import type { OverrideConfig } from './types/Override'
import type { ReportOutput } from './types/ReportOutput'
import { reportApiWithoutMethod, reportBigVif, reportBigVshow, reportComplicatedConditions, reportComputedSideEffects, reportCyclomaticComplexity, reportDeepIndentation, reportElseCondition, reportFunctionSize, reportHtmlImageElements, reportHtmlLink, reportIfWithoutCurlyBraces, reportMagicNumbers, reportNestedTernary, reportNoInlineStyles, reportNoPropDestructure, reportNoVarDeclaration, reportParameterCount, reportPlainScript, reportPropsDrilling, reportScriptLength, reportShortVariableName, reportTooManyProps, reportVForWithIndexKey, reportZeroLengthComparison } from './rules/rrd'
import { reportElementSelectorsWithScoped, reportImplicitParentChildCommunication } from './rules/vue-caution'
Expand Down
22 changes: 11 additions & 11 deletions src/types/Config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import type { OverrideConfig } from "./Override"
import type { OverrideConfig } from './Override'

export interface Config {
path: string
apply: string
ignore: string
exclude: string
group: string
level: string
sort: string
output: string
override: OverrideConfig
isDefault?: boolean
path: string
apply: string
ignore: string
exclude: string
group: string
level: string
sort: string
output: string
override: OverrideConfig
isDefault?: boolean
}

0 comments on commit 6e5344e

Please sign in to comment.