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 ts from 'typescript';
/**
* Disallow bracket notation for accessing properties that are valid identifiers,
* especially private members (starting with underscore). Bracket notation should
* only be used for properties with special characters or computed property names.
*
* Bad: obj['_privateMember']
* Bad: obj['normalProperty']
* Good: obj._privateMember // TypeScript will catch private access
* Good: obj.normalProperty
* Good: obj['property-with-dashes']
* Good: obj[computedKey]
*/
export default new class NoBracketNotationForIdentifiers implements eslint.Rule.RuleModule {
readonly meta: eslint.Rule.RuleMetaData = {
type: 'problem',
docs: {
description
messages
noBracketNotation
schema
fixable
context eslintRuleRuleContext eslintRuleRuleListener
str
str
scanner tstsScriptTargetLatest tsLanguageVariantStandard str
token scanner
isIdentifierName token tsSyntaxKindIdentifier
token tsSyntaxKindFirstKeyword token tsSyntaxKindLastKeyword
isIdentifierName scanner str scanner tsSyntaxKindEndOfFileToken
node
memberExpr node TSESTreeMemberExpression
memberExprcomputed
memberExprpropertytype memberExprpropertyvalue
propertyName memberExprpropertyvalue
propertyName
context
node memberExprproperty
messageId
data
property propertyName
fixer
property memberExprproperty eslintRuleNode
leftBracket contextsourceCodeproperty
rightBracket contextsourceCodeproperty
leftBracketvalue rightBracketvalue
hasComments contextsourceCode
leftBracket rightBracket includeComments
token tokentype tokentype
hasComments
bracketFix fixer
leftBracketrange rightBracketrange
memberExprobjecttype memberExprobjectvalue
object memberExprobject eslintRuleNode
fixerobject
fixerobject
bracketFix
bracketFix