Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/conarti/eslint-plugin-feature-sliced
/ functions
Functions
112 in github.com/conarti/eslint-plugin-feature-sliced
⨍
Functions
112
◇
Types & classes
6
↓ 15 callers
Function
makeErrorMessage
(importLayer: Layer, currentFileLayer: Layer)
src/rules/layers-slices/index.test.ts:42
↓ 15 callers
Function
makeErrorWithSuggestion
(suggestionSegments: string, suggestionOutput: string, fixedPath: string)
src/rules/public-api/index.test.ts:29
↓ 8 callers
Function
run
(bin, args, opts = {})
scripts/release.js:20
↓ 7 callers
Function
normalizePath
(targetPath: string)
src/lib/path/normalize-path.ts:4
↓ 7 callers
Function
run
(bin, args, opts = {})
scripts/local-build.js:17
↓ 6 callers
Function
step
(message)
scripts/release.js:24
↓ 5 callers
Function
isNull
(target: unknown)
src/lib/shared/is-null.ts:1
↓ 4 callers
Function
extractPathsInfo
(node: ImportExportNodesWithSourceValue, context: UnknownRuleContext)
src/lib/feature-sliced/extract-paths-info.ts:55
↓ 4 callers
Function
extractRuleOptions
(optionsWithDefault: OptionsWithDefault)
src/lib/rule/extract-rule-options.ts:4
↓ 4 callers
Function
isIgnoredCurrentFile
(context: UnknownRuleContext, optionsWithDefault: T)
src/lib/rule/is-ignored-current-file.ts:8
↓ 4 callers
Function
isPathRelative
(path: string)
src/lib/path/is-path-relative.ts:4
↓ 4 callers
Function
step
(message)
scripts/local-build.js:22
↓ 4 callers
Function
validateAndReport
(node: ImportExportNodes, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/public-api/model/validate-and-report.ts:13
↓ 4 callers
Function
validateAndReport
( node: ImportExportNodes, context: RuleContext, optionsWithDefault: Readonly<Options>, options: Valid
src/rules/absolute-relative/model/validate-and-report.ts:22
↓ 3 callers
Function
deleteFiles
(dirnameOrFile)
scripts/local-build.js:38
↓ 3 callers
Function
extractCurrentFilePath
(context: UnknownRuleContext)
src/lib/rule/extract-current-file-path.ts:4
↓ 3 callers
Function
extractLayer
(targetPath: string, cwd?: string)
src/lib/feature-sliced/extract-layer.ts:22
↓ 3 callers
Function
hasPath
(node: unknown)
src/lib/rule/has-path.ts:28
↓ 3 callers
Function
makeErrorMessageAtSpecifier
(importLayer: Layer, currentFileLayer: Layer, position: ErrorPosition)
src/rules/layers-slices/index.test.ts:59
↓ 2 callers
Function
convertToAbsolute
(base: string, target: string)
src/lib/path/convert-to-absolute.ts:4
↓ 2 callers
Function
createDir
(dirname)
scripts/local-build.js:24
↓ 2 callers
Function
extractCwd
(context: UnknownRuleContext)
src/lib/rule/extract-cwd.ts:5
↓ 2 callers
Function
extractFeatureSlicedParts
(targetPath: string, cwd?: string)
src/lib/feature-sliced/extract-feature-sliced-parts.ts:5
↓ 2 callers
Function
extractNodePath
(node: ImportExportNodesWithSourceValue)
src/lib/rule/extract-node-path.ts:4
↓ 2 callers
Function
extractSegment
(targetPath: string)
src/lib/feature-sliced/extract-segment.ts:15
↓ 2 callers
Function
extractSlice
(targetPath: string)
src/lib/feature-sliced/extract-slice.ts:7
↓ 2 callers
Function
getByRegExp
(target: string, regExp: RegExp, fromEnd = false)
src/lib/shared/get-by-reg-exp.ts:7
↓ 2 callers
Function
getJsonPath
(filename)
scripts/release.js:29
↓ 2 callers
Function
getLayerWeight
(layer: Layer)
src/lib/feature-sliced/layers.ts:17
↓ 2 callers
Function
isIgnored
(path: string, patterns: string[])
src/lib/rule/is-ignored.ts:6
↓ 2 callers
Function
makeIgnoreOptions
(patterns: string[])
src/rules/layers-slices/index.test.ts:30
↓ 2 callers
Function
readJson
(filename)
scripts/release.js:31
↓ 2 callers
Function
setValidationLevel
(level: VALIDATION_LEVEL)
src/rules/public-api/index.test.ts:53
↓ 2 callers
Function
validByTypeImport
(node: ImportNodesWithSource | TSESTree.ImportSpecifier, allowTypeImports: boolean)
src/rules/layers-slices/model/validate-node/valid-by-type-import.ts:5
↓ 2 callers
Function
validateAndReport
(node: ImportNodes, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/layers-slices/model/validate-and-report.ts:58
↓ 2 callers
Function
validateExtractedFeatureSlicedParts
(extractedFeatureSlicedParts: ExtractedFeatureSlicedParts)
src/lib/feature-sliced/validate-extracted-feature-sliced-parts.ts:8
↓ 2 callers
Function
writeJson
(filename, data)
scripts/release.js:33
↓ 1 callers
Function
addSlashToStart
(targetPath: string | null)
src/rules/public-api/model/convert-to-public-api.ts:4
↓ 1 callers
Function
build
(buildDir, packedPackageFileName)
scripts/local-build.js:49
↓ 1 callers
Function
build
()
scripts/release.js:121
↓ 1 callers
Function
canLayerContainSlices
(layer: Layer)
src/lib/feature-sliced/layers.ts:21
↓ 1 callers
Function
cleanCompiledFiles
(buildDir, packedPackageFileName)
scripts/local-build.js:42
↓ 1 callers
Function
commit
(targetVersion)
scripts/release.js:62
↓ 1 callers
Function
compareFeatureSlicedParts
(fsPartsToCompare: FSPartsToCompare)
src/lib/feature-sliced/extract-paths-info.ts:26
↓ 1 callers
Function
convertToPublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/convert-to-public-api.ts:25
↓ 1 callers
Function
copy
(from, to)
scripts/local-build.js:28
↓ 1 callers
Function
extractImportSpecifiers
(node: TSESTree.ImportDeclaration)
src/rules/layers-slices/model/specifiers/extract-import-specifiers.ts:6
↓ 1 callers
Function
extractPaths
(node: ImportExportNodesWithSourceValue, context: UnknownRuleContext)
src/lib/rule/extract-paths.ts:10
↓ 1 callers
Function
extractValueToRemove
(pathsInfo: PathsInfo)
src/rules/public-api/model/convert-to-public-api.ts:12
↓ 1 callers
Function
generateChangelog
()
scripts/release.js:48
↓ 1 callers
Function
getCompilationInfo
()
scripts/local-build.js:66
↓ 1 callers
Function
getReportPosition
(validatedNode: ImportExportNodesWithSourceValue | TSESTree.ImportSpecifier)
src/rules/layers-slices/model/errors.ts:17
↓ 1 callers
Function
getSourceRangeWithoutQuotes
([rangeStart, rangeEnd]: TSESTree.Range)
src/lib/rule/get-source-range-without-quotes.ts:3
↓ 1 callers
Function
hasErrorsAtAllSpecifiers
(specifiers: TSESTree.ImportSpecifier[], invalidSpecifiers: TSESTree.ImportSpecifier[])
src/rules/layers-slices/model/specifiers/has-errors-at-all-specifiers.ts:3
↓ 1 callers
Function
incrementCurrentVersion
(versionType)
scripts/release.js:19
↓ 1 callers
Function
isIgnoredTarget
(node: ImportExportNodesWithSourceValue, optionsWithDefault: T)
src/lib/rule/is-ignored-target.ts:8
↓ 1 callers
Function
isIndexFile
(segmentFiles: string)
src/rules/public-api/model/is-index-file.ts:1
↓ 1 callers
Function
isLayer
(layer: unknown)
src/lib/feature-sliced/layers.ts:10
↓ 1 callers
Function
isLayerPublicApi
(context: UnknownRuleContext)
src/rules/public-api/model/is-layer-public-api.ts:10
↓ 1 callers
Function
isNodeType
(node: ImportExportNodes | TSESTree.ImportSpecifier)
src/lib/rule/is-node-type.ts:21
↓ 1 callers
Function
isNotSuitableForValidation
(pathsInfo: PathsInfo)
src/rules/layers-slices/model/is-not-suitable-for-validation.ts:3
↓ 1 callers
Function
isObject
(target: unknown)
src/lib/shared/is-object.ts:1
↓ 1 callers
Function
isSegmentsPublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/is-segments-public-api.ts:4
↓ 1 callers
Function
isSlicePublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/is-slice-public-api.ts:3
↓ 1 callers
Function
isUndefined
(target: unknown)
src/lib/shared/is-undefined.ts:1
↓ 1 callers
Function
joinPath
(from: string, to: string)
src/lib/path/join-path.ts:4
↓ 1 callers
Function
main
()
scripts/local-build.js:89
↓ 1 callers
Function
main
()
scripts/release.js:126
↓ 1 callers
Function
makeFilename
(filename: string)
src/rules/layers-slices/index.test.ts:22
↓ 1 callers
Function
makeFilename
(filename: string)
src/rules/public-api/index.test.ts:27
↓ 1 callers
Function
makeIgnoreInFilesOptions
(patterns: string[])
src/rules/layers-slices/index.test.ts:36
↓ 1 callers
Function
makeIgnoreInFilesOptions
(patterns: string[])
src/rules/public-api/index.test.ts:59
↓ 1 callers
Function
makeIgnoreInFilesOptions
(patterns: string[])
src/rules/absolute-relative/index.test.ts:21
↓ 1 callers
Function
moveToProject
(destinationDir, buildDir)
scripts/local-build.js:58
↓ 1 callers
Function
prepareToExtract
(targetPath: string, cwd?: string)
src/lib/feature-sliced/extract-layer.ts:7
↓ 1 callers
Function
publish
()
scripts/release.js:70
↓ 1 callers
Function
push
(targetVersion)
scripts/release.js:76
↓ 1 callers
Function
removeField
(objectLike: T, key: K)
tests/rule-tester.ts:6
↓ 1 callers
Function
reportCanNotImportLayer
( context: RuleContext, node: ImportExportNodesWithSourceValue | TSESTree.ImportSpecifier, pathsInfo: Pa
src/rules/layers-slices/model/errors.ts:12
↓ 1 callers
Function
reportLayersPublicApiNotAllowed
(node: TSESTree.Program, context: RuleContext)
src/rules/public-api/model/errors.ts:35
↓ 1 callers
Function
reportShouldBeAbsolute
(node: ImportExportNodesWithSourceValue, context: RuleContext)
src/rules/absolute-relative/model/errors.ts:14
↓ 1 callers
Function
reportShouldBeFromPublicApi
(node: ImportExportNodesWithSourceValue, context: RuleContext)
src/rules/public-api/model/errors.ts:13
↓ 1 callers
Function
reportShouldBeRelative
(node: ImportExportNodesWithSourceValue, context: RuleContext)
src/rules/absolute-relative/model/errors.ts:7
↓ 1 callers
Function
reportValidationErrors
(nodes: TSESTree.ImportSpecifier[] | ImportNodes[], context: RuleContext, pathsInfo: PathsInfo)
src/rules/layers-slices/model/validate-and-report.ts:54
↓ 1 callers
Function
selectVersion
()
scripts/release.js:83
↓ 1 callers
Function
shouldBeAbsolute
(pathsInfo: PathsInfo)
src/rules/absolute-relative/model/should-be-absolute.ts:4
↓ 1 callers
Function
shouldBeFromPublicApi
(node: ImportExportNodesWithSourceValue, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/public-api/model/should-be-from-public-api.ts:29
↓ 1 callers
Function
shouldBeFromSegmentsPublicApi
(pathsInfo: PathsInfo, validateOptions: ValidateOptions)
src/rules/public-api/model/should-be-from-public-api.ts:24
↓ 1 callers
Function
shouldBeFromSlicePublicApi
(pathsInfo: PathsInfo)
src/rules/public-api/model/should-be-from-public-api.ts:19
↓ 1 callers
Function
shouldBeRelative
(pathsInfo: PathsInfo)
src/rules/absolute-relative/model/should-be-relative.ts:4
↓ 1 callers
Function
updatePackageVersion
(newVersion)
scripts/release.js:26
↓ 1 callers
Function
validByLayerOrder
(fsdPartsOfTarget: ExtractedFeatureSlicedParts, fsdPartsOfCurrentFile: ExtractedFeatureSlicedParts)
src/rules/layers-slices/model/validate-node/valid-by-layer-order.ts:5
↓ 1 callers
Function
validate
( node: ImportNodes, pathsInfo: PathsInfo, allowTypeImports: boolean, )
src/rules/layers-slices/model/validate-and-report.ts:30
↓ 1 callers
Function
validateAndReportProgram
(node: TSESTree.Program, context: RuleContext, optionsWithDefault: Readonly<Options>)
src/rules/public-api/model/validate-and-report-program.ts:10
↓ 1 callers
Function
validateNode
(node: ImportNodesWithSource, pathsInfo: PathsInfo, allowTypeImports: boolean)
src/rules/layers-slices/model/validate-node/index.ts:6
↓ 1 callers
Function
validateSpecifiers
(specifiers: TSESTree.ImportSpecifier[], allowTypeImports: boolean)
src/rules/layers-slices/model/specifiers/validate-specifiers.ts:4
Function
ExportAllDeclaration
(node)
src/rules/public-api/index.ts:65
Function
ExportAllDeclaration
(node)
src/rules/absolute-relative/index.ts:51
Function
ExportNamedDeclaration
(node)
src/rules/public-api/index.ts:68
Function
ExportNamedDeclaration
(node)
src/rules/absolute-relative/index.ts:54
next →
1–100 of 112, ranked by callers