-
Type:
Code Smell Detection
-
Status: Active
-
Resolution: Unresolved
-
Labels:
-
Message:Replace all tab characters in this file "XXXX" by sequences of white-spaces. (message at file level)
-
Default Severity:Minor
-
Impact:Low
-
Likelihood:Low
-
Legacy Key:TabCharacter, Web:IllegalTabCheck
-
Targeted languages:Flex, PL/I, PL/SQL, Python
-
Covered Languages:ABAP, APEX, C#, C, C++, Cobol, HTML, Java, JavaScript, Kotlin, Objective-C, PHP, Ruby, Scala, Swift, T-SQL, TypeScript, VB.Net, VB6, XML
-
Irrelevant for Languages:Go, RPG
-
Remediation Function:Constant/Issue
-
Constant Cost:2min
-
Analysis Level:Syntactic Analysis
-
Analysis Scope:Main Sources, Test Sources
-
Common Rule:Yes
-
Checkstyle:FileTabCharacter
-
ESLint:no-tabs
-
TSLint:indent
Developers should not need to configure the tab width of their text editors in order to be able to read source code.
So the use of the tabulation character must be banned.
- is implemented by
-
SONARFLEX-97 Rule: Tabulation characters should not be used
-
- Open
-
-
SONARPLI-156 Rule: Tabulation characters should not be used
-
- Open
-
-
SONARPLSQL-668 Rule: Tabulation characters should not be used
-
- Open
-
-
CPP-262 Rule S00105: Avoid use of tabulation character
-
- Closed
-
-
SONARABAP-188 Rule "Tabulation characters should not be used"
-
- Closed
-
-
SONARCOBOL-907 Rule: Tabulation characters should not be used
-
- Closed
-
-
SONARPY-258 Rule: Tabulation characters should not be used
-
- Closed
-
-
SONARSLANG-74 Rule S105: Tabulation characters should not be used
-
- Closed
-
-
SONARSLANG-191 [Scala] Enable Rule: S105 Tabulation characters should not be used
-
- Closed
-
-
SONARSLANG-259 [Apex] Enable Rule: S105 Tabulation characters should not be used
-
- Closed
-
-
SONARSWIFT-45 Rule: Tabulation characters should not be used
-
- Closed
-
-
SONARTSQL-94 Rule: Tabulation characters should not be used
-
- Closed
-
-
SONARVBSIX-227 Rule: Tabulation characters should not be used
-
- Closed
-
-
CPP-707 Create Objective-C rules repository containing targeted rules
-
- Closed
-
-
SONARXML-108 S105: limit the number of secondary locations and add secondary location messages
-
- Closed
-
- is related to
-
RSPEC-1120 Source code should be indented consistently
- Active
1.
|
PHP | RSPEC-2509 |
|
Active | Unassigned | |
2.
|
Swift | RSPEC-2511 |
|
Active | Unassigned | |
3.
|
XML | RSPEC-3090 |
|
Active | Unassigned | |
4.
|
C-Family | RSPEC-4368 |
|
Active | Unassigned | |
5.
|
HTML | RSPEC-4540 |
|
Active | Unassigned | |
6.
|
JavaScript | RSPEC-4724 |
|
Active | Unassigned | |
7.
|
VB6 | RSPEC-6043 |
|
Active | Unassigned |