ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as eslint from 'eslint';
import { TSESTree } from '@typescript-eslint/utils';
import * as path from 'path';
import minimatch from 'minimatch';
import { createImportRuleListener } from './utils.ts';
const REPO_ROOT = path.normalize(path.join(import.meta.dirname, '../'));
interface ConditionalPattern {
when?
pattern
target
layer
test
restrictions ConditionalPattern
when
allow
RawImportPatternsConfig LayerAllowRule
option RawOption option LayerAllowRule
option LayerAllowRulewhen option LayerAllowRuleallow
target
restrictions
RuleRuleModule
meta eslintRuleRuleMetaData
messages
badImport
badFilename
badAbsolute
badExtension
docs
url
schema
context eslintRuleRuleContext eslintRuleRuleListener
options contextoptions RawOption
configs options
relativeFilename context
config configs
relativeFilename configtarget
node value context config node value
context
loc line column
messageId
_optionsCache
options RawOption ImportPatternsConfig
_optionsCacheoptions
_optionsCacheoptions
layer Layer
deps
isBrowser
isNode
isElectron
variants Layer
variantslength variants
layerRules ILayerRule
layer deps
layer deps
layer deps isBrowser
layer deps isBrowser
layer deps isNode
layer deps isNode isElectron
layer deps isNode isElectron
browserAllow
nodeAllow
electronAllow
testAllow
option options
option
optionwhen
browserAllow optionallow
optionwhen
nodeAllow optionallow
optionwhen
electronAllow optionallow
optionwhen
testAllow optionallow
layer Layer ILayerRule
layerRule layerRules
layerRulelayer layer
layerRule
layerRule ILayerRule target rawRestrictions ConditionalPattern ImportPatternsConfig ImportPatternsConfig
restrictions
testRestrictions testAllow
layerRuleisBrowser
restrictionsbrowserAllow
layerRuleisNode
restrictionsnodeAllow
layerRuleisElectron
restrictionselectronAllow
rawRestriction rawRestrictions
importPattern
when
rawRestriction
importPattern rawRestriction
importPattern rawRestrictionpattern
when rawRestrictionwhen
when
when layerRuleisBrowser
when layerRuleisNode
when layerRuleisElectron
restrictionsimportPattern
testRestrictionsimportPattern
when
testRestrictionsimportPattern
testRestrictionsimportPattern
testRestrictionsrestrictions
target target
restrictions restrictions
target target
restrictions testRestrictions
configs ImportPatternsConfig
option options
option
target optiontarget
targetIsVS target
restrictions optionrestrictions optionrestrictions optionrestrictions
targetIsVS
restrictions
restrictions
targetIsVS optionlayer
layerRule optionlayer
layerRule
config testConfig layerRule target restrictions
optiontest
configstestConfig
configsconfig
targetIsVS target
layerRule layerRules
config testConfig layerRule target restrictions
configsconfig
configstestConfig
configs target restrictions restrictionsr r
_optionsCacheoptions configs
configs
context eslintRuleRuleContext config ImportPatternsConfig node TSESTreeNode importPath
targetIsVS context
targetIsVS
importPath importPath importPath
context
loc nodeloc
messageId
importPath
context
loc nodeloc
messageId
importPath
relativeFilename context
importPath pathposixpathposixrelativeFilename importPath
importPath
importPath importPathlength
restrictions configrestrictions
matched
pattern restrictions
importPath pattern
matched
matched
context
loc nodeloc
messageId
data
restrictions restrictions
context eslintRuleRuleContext
filename pathcontextfilename
filenamelength