MCPcopy Create free account

hub / github.com/conarti/eslint-plugin-feature-sliced / functions

Functions112 in github.com/conarti/eslint-plugin-feature-sliced

↓ 15 callersFunctionmakeErrorMessage
(importLayer: Layer, currentFileLayer: Layer)
src/rules/layers-slices/index.test.ts:42
↓ 15 callersFunctionmakeErrorWithSuggestion
(suggestionSegments: string, suggestionOutput: string, fixedPath: string)
src/rules/public-api/index.test.ts:29
↓ 8 callersFunctionrun
(bin, args, opts = {})
scripts/release.js:20
↓ 7 callersFunctionnormalizePath
(targetPath: string)
src/lib/path/normalize-path.ts:4
↓ 7 callersFunctionrun
(bin, args, opts = {})
scripts/local-build.js:17
↓ 6 callersFunctionstep
(message)
scripts/release.js:24
↓ 5 callersFunctionisNull
(target: unknown)
src/lib/shared/is-null.ts:1
↓ 4 callersFunctionextractPathsInfo
(node: ImportExportNodesWithSourceValue, context: UnknownRuleContext)
src/lib/feature-sliced/extract-paths-info.ts:55
↓ 4 callersFunctionextractRuleOptions
(optionsWithDefault: OptionsWithDefault)
src/lib/rule/extract-rule-options.ts:4
↓ 4 callersFunctionisIgnoredCurrentFile
(context: UnknownRuleContext, optionsWithDefault: T)
src/lib/rule/is-ignored-current-file.ts:8
↓ 4 callersFunctionisPathRelative
(path: string)
src/lib/path/is-path-relative.ts:4
↓ 4 callersFunctionstep
(message)
scripts/local-build.js:22
↓ 4 callersFunctionvalidateAndReport
(node: ImportExportNodes, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/public-api/model/validate-and-report.ts:13
↓ 4 callersFunctionvalidateAndReport
( node: ImportExportNodes, context: RuleContext, optionsWithDefault: Readonly<Options>, options: Valid
src/rules/absolute-relative/model/validate-and-report.ts:22
↓ 3 callersFunctiondeleteFiles
(dirnameOrFile)
scripts/local-build.js:38
↓ 3 callersFunctionextractCurrentFilePath
(context: UnknownRuleContext)
src/lib/rule/extract-current-file-path.ts:4
↓ 3 callersFunctionextractLayer
(targetPath: string, cwd?: string)
src/lib/feature-sliced/extract-layer.ts:22
↓ 3 callersFunctionhasPath
(node: unknown)
src/lib/rule/has-path.ts:28
↓ 3 callersFunctionmakeErrorMessageAtSpecifier
(importLayer: Layer, currentFileLayer: Layer, position: ErrorPosition)
src/rules/layers-slices/index.test.ts:59
↓ 2 callersFunctionconvertToAbsolute
(base: string, target: string)
src/lib/path/convert-to-absolute.ts:4
↓ 2 callersFunctioncreateDir
(dirname)
scripts/local-build.js:24
↓ 2 callersFunctionextractCwd
(context: UnknownRuleContext)
src/lib/rule/extract-cwd.ts:5
↓ 2 callersFunctionextractFeatureSlicedParts
(targetPath: string, cwd?: string)
src/lib/feature-sliced/extract-feature-sliced-parts.ts:5
↓ 2 callersFunctionextractNodePath
(node: ImportExportNodesWithSourceValue)
src/lib/rule/extract-node-path.ts:4
↓ 2 callersFunctionextractSegment
(targetPath: string)
src/lib/feature-sliced/extract-segment.ts:15
↓ 2 callersFunctionextractSlice
(targetPath: string)
src/lib/feature-sliced/extract-slice.ts:7
↓ 2 callersFunctiongetByRegExp
(target: string, regExp: RegExp, fromEnd = false)
src/lib/shared/get-by-reg-exp.ts:7
↓ 2 callersFunctiongetJsonPath
(filename)
scripts/release.js:29
↓ 2 callersFunctiongetLayerWeight
(layer: Layer)
src/lib/feature-sliced/layers.ts:17
↓ 2 callersFunctionisIgnored
(path: string, patterns: string[])
src/lib/rule/is-ignored.ts:6
↓ 2 callersFunctionmakeIgnoreOptions
(patterns: string[])
src/rules/layers-slices/index.test.ts:30
↓ 2 callersFunctionreadJson
(filename)
scripts/release.js:31
↓ 2 callersFunctionsetValidationLevel
(level: VALIDATION_LEVEL)
src/rules/public-api/index.test.ts:53
↓ 2 callersFunctionvalidByTypeImport
(node: ImportNodesWithSource | TSESTree.ImportSpecifier, allowTypeImports: boolean)
src/rules/layers-slices/model/validate-node/valid-by-type-import.ts:5
↓ 2 callersFunctionvalidateAndReport
(node: ImportNodes, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/layers-slices/model/validate-and-report.ts:58
↓ 2 callersFunctionvalidateExtractedFeatureSlicedParts
(extractedFeatureSlicedParts: ExtractedFeatureSlicedParts)
src/lib/feature-sliced/validate-extracted-feature-sliced-parts.ts:8
↓ 2 callersFunctionwriteJson
(filename, data)
scripts/release.js:33
↓ 1 callersFunctionaddSlashToStart
(targetPath: string | null)
src/rules/public-api/model/convert-to-public-api.ts:4
↓ 1 callersFunctionbuild
(buildDir, packedPackageFileName)
scripts/local-build.js:49
↓ 1 callersFunctionbuild
()
scripts/release.js:121
↓ 1 callersFunctioncanLayerContainSlices
(layer: Layer)
src/lib/feature-sliced/layers.ts:21
↓ 1 callersFunctioncleanCompiledFiles
(buildDir, packedPackageFileName)
scripts/local-build.js:42
↓ 1 callersFunctioncommit
(targetVersion)
scripts/release.js:62
↓ 1 callersFunctioncompareFeatureSlicedParts
(fsPartsToCompare: FSPartsToCompare)
src/lib/feature-sliced/extract-paths-info.ts:26
↓ 1 callersFunctionconvertToPublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/convert-to-public-api.ts:25
↓ 1 callersFunctioncopy
(from, to)
scripts/local-build.js:28
↓ 1 callersFunctionextractImportSpecifiers
(node: TSESTree.ImportDeclaration)
src/rules/layers-slices/model/specifiers/extract-import-specifiers.ts:6
↓ 1 callersFunctionextractPaths
(node: ImportExportNodesWithSourceValue, context: UnknownRuleContext)
src/lib/rule/extract-paths.ts:10
↓ 1 callersFunctionextractValueToRemove
(pathsInfo: PathsInfo)
src/rules/public-api/model/convert-to-public-api.ts:12
↓ 1 callersFunctiongenerateChangelog
()
scripts/release.js:48
↓ 1 callersFunctiongetCompilationInfo
()
scripts/local-build.js:66
↓ 1 callersFunctiongetReportPosition
(validatedNode: ImportExportNodesWithSourceValue | TSESTree.ImportSpecifier)
src/rules/layers-slices/model/errors.ts:17
↓ 1 callersFunctiongetSourceRangeWithoutQuotes
([rangeStart, rangeEnd]: TSESTree.Range)
src/lib/rule/get-source-range-without-quotes.ts:3
↓ 1 callersFunctionhasErrorsAtAllSpecifiers
(specifiers: TSESTree.ImportSpecifier[], invalidSpecifiers: TSESTree.ImportSpecifier[])
src/rules/layers-slices/model/specifiers/has-errors-at-all-specifiers.ts:3
↓ 1 callersFunctionincrementCurrentVersion
(versionType)
scripts/release.js:19
↓ 1 callersFunctionisIgnoredTarget
(node: ImportExportNodesWithSourceValue, optionsWithDefault: T)
src/lib/rule/is-ignored-target.ts:8
↓ 1 callersFunctionisIndexFile
(segmentFiles: string)
src/rules/public-api/model/is-index-file.ts:1
↓ 1 callersFunctionisLayer
(layer: unknown)
src/lib/feature-sliced/layers.ts:10
↓ 1 callersFunctionisLayerPublicApi
(context: UnknownRuleContext)
src/rules/public-api/model/is-layer-public-api.ts:10
↓ 1 callersFunctionisNodeType
(node: ImportExportNodes | TSESTree.ImportSpecifier)
src/lib/rule/is-node-type.ts:21
↓ 1 callersFunctionisNotSuitableForValidation
(pathsInfo: PathsInfo)
src/rules/layers-slices/model/is-not-suitable-for-validation.ts:3
↓ 1 callersFunctionisObject
(target: unknown)
src/lib/shared/is-object.ts:1
↓ 1 callersFunctionisSegmentsPublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/is-segments-public-api.ts:4
↓ 1 callersFunctionisSlicePublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/is-slice-public-api.ts:3
↓ 1 callersFunctionisUndefined
(target: unknown)
src/lib/shared/is-undefined.ts:1
↓ 1 callersFunctionjoinPath
(from: string, to: string)
src/lib/path/join-path.ts:4
↓ 1 callersFunctionmain
()
scripts/local-build.js:89
↓ 1 callersFunctionmain
()
scripts/release.js:126
↓ 1 callersFunctionmakeFilename
(filename: string)
src/rules/layers-slices/index.test.ts:22
↓ 1 callersFunctionmakeFilename
(filename: string)
src/rules/public-api/index.test.ts:27
↓ 1 callersFunctionmakeIgnoreInFilesOptions
(patterns: string[])
src/rules/layers-slices/index.test.ts:36
↓ 1 callersFunctionmakeIgnoreInFilesOptions
(patterns: string[])
src/rules/public-api/index.test.ts:59
↓ 1 callersFunctionmakeIgnoreInFilesOptions
(patterns: string[])
src/rules/absolute-relative/index.test.ts:21
↓ 1 callersFunctionmoveToProject
(destinationDir, buildDir)
scripts/local-build.js:58
↓ 1 callersFunctionprepareToExtract
(targetPath: string, cwd?: string)
src/lib/feature-sliced/extract-layer.ts:7
↓ 1 callersFunctionpublish
()
scripts/release.js:70
↓ 1 callersFunctionpush
(targetVersion)
scripts/release.js:76
↓ 1 callersFunctionremoveField
(objectLike: T, key: K)
tests/rule-tester.ts:6
↓ 1 callersFunctionreportCanNotImportLayer
( context: RuleContext, node: ImportExportNodesWithSourceValue | TSESTree.ImportSpecifier, pathsInfo: Pa
src/rules/layers-slices/model/errors.ts:12
↓ 1 callersFunctionreportLayersPublicApiNotAllowed
(node: TSESTree.Program, context: RuleContext)
src/rules/public-api/model/errors.ts:35
↓ 1 callersFunctionreportShouldBeAbsolute
(node: ImportExportNodesWithSourceValue, context: RuleContext)
src/rules/absolute-relative/model/errors.ts:14
↓ 1 callersFunctionreportShouldBeFromPublicApi
(node: ImportExportNodesWithSourceValue, context: RuleContext)
src/rules/public-api/model/errors.ts:13
↓ 1 callersFunctionreportShouldBeRelative
(node: ImportExportNodesWithSourceValue, context: RuleContext)
src/rules/absolute-relative/model/errors.ts:7
↓ 1 callersFunctionreportValidationErrors
(nodes: TSESTree.ImportSpecifier[] | ImportNodes[], context: RuleContext, pathsInfo: PathsInfo)
src/rules/layers-slices/model/validate-and-report.ts:54
↓ 1 callersFunctionselectVersion
()
scripts/release.js:83
↓ 1 callersFunctionshouldBeAbsolute
(pathsInfo: PathsInfo)
src/rules/absolute-relative/model/should-be-absolute.ts:4
↓ 1 callersFunctionshouldBeFromPublicApi
(node: ImportExportNodesWithSourceValue, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/public-api/model/should-be-from-public-api.ts:29
↓ 1 callersFunctionshouldBeFromSegmentsPublicApi
(pathsInfo: PathsInfo, validateOptions: ValidateOptions)
src/rules/public-api/model/should-be-from-public-api.ts:24
↓ 1 callersFunctionshouldBeFromSlicePublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/should-be-from-public-api.ts:19
↓ 1 callersFunctionshouldBeRelative
(pathsInfo: PathsInfo)
src/rules/absolute-relative/model/should-be-relative.ts:4
↓ 1 callersFunctionupdatePackageVersion
(newVersion)
scripts/release.js:26
↓ 1 callersFunctionvalidByLayerOrder
(fsdPartsOfTarget: ExtractedFeatureSlicedParts, fsdPartsOfCurrentFile: ExtractedFeatureSlicedParts)
src/rules/layers-slices/model/validate-node/valid-by-layer-order.ts:5
↓ 1 callersFunctionvalidate
( node: ImportNodes, pathsInfo: PathsInfo, allowTypeImports: boolean, )
src/rules/layers-slices/model/validate-and-report.ts:30
↓ 1 callersFunctionvalidateAndReportProgram
(node: TSESTree.Program, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/public-api/model/validate-and-report-program.ts:10
↓ 1 callersFunctionvalidateNode
(node: ImportNodesWithSource, pathsInfo: PathsInfo, allowTypeImports: boolean)
src/rules/layers-slices/model/validate-node/index.ts:6
↓ 1 callersFunctionvalidateSpecifiers
(specifiers: TSESTree.ImportSpecifier[], allowTypeImports: boolean)
src/rules/layers-slices/model/specifiers/validate-specifiers.ts:4
FunctionExportAllDeclaration
(node)
src/rules/public-api/index.ts:65
FunctionExportAllDeclaration
(node)
src/rules/absolute-relative/index.ts:51
FunctionExportNamedDeclaration
(node)
src/rules/public-api/index.ts:68
FunctionExportNamedDeclaration
(node)
src/rules/absolute-relative/index.ts:54
next →1–100 of 112, ranked by callers