Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

Commit 558f617

Browse files
committed
fix: disable @typescript-eslint/indent rule
1 parent e4d4e17 commit 558f617

File tree

3 files changed

+98
-104
lines changed

3 files changed

+98
-104
lines changed

packages/biome-config/lib/biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"useIgnoreFile": true
77
},
88
"organizeImports": {
9-
"enabled": false
9+
"enabled": true
1010
},
1111
"linter": {
1212
"enabled": false

packages/eslint-config-tslint-base/lib/tslint-config.js

Lines changed: 49 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -3,72 +3,69 @@ module.exports = {
33
es6: true,
44
node: true,
55
},
6-
extends: ["eslint:recommended", "plugin:eslint-comments/recommended"],
7-
ignorePatterns: [".eslintrc.js"],
6+
extends: ['eslint:recommended', 'plugin:eslint-comments/recommended'],
7+
ignorePatterns: ['.eslintrc.js'],
88
overrides: [
99
{
1010
extends: [
11-
"eslint:recommended",
12-
"plugin:@typescript-eslint/eslint-recommended",
13-
"plugin:@typescript-eslint/recommended",
14-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
11+
'eslint:recommended',
12+
'plugin:@typescript-eslint/eslint-recommended',
13+
'plugin:@typescript-eslint/recommended',
14+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
1515
],
16-
files: ["*.ts"],
16+
files: ['*.ts'],
1717
rules: {
18-
"@typescript-eslint/ban-ts-comment": "off",
19-
"@typescript-eslint/ban-types": "off",
20-
"@typescript-eslint/consistent-type-imports": "error",
21-
"@typescript-eslint/explicit-module-boundary-types": "off",
22-
"@typescript-eslint/no-empty-function": "off",
23-
"@typescript-eslint/no-empty-interface": "off",
24-
"@typescript-eslint/no-explicit-any": "off",
25-
"@typescript-eslint/no-misused-promises": "off",
26-
"@typescript-eslint/no-non-null-assertion": "off",
27-
"@typescript-eslint/no-unnecessary-type-assertion": "off",
28-
"@typescript-eslint/no-unsafe-argument": "warn",
29-
"@typescript-eslint/no-unsafe-assignment": "off",
30-
"@typescript-eslint/no-unsafe-call": "off",
31-
"@typescript-eslint/no-unsafe-member-access": "off",
32-
"@typescript-eslint/no-unsafe-return": "off",
33-
"@typescript-eslint/no-use-before-define": "off",
34-
"@typescript-eslint/no-var-requires": "off",
35-
"@typescript-eslint/restrict-plus-operands": "off",
36-
"@typescript-eslint/restrict-template-expressions": "off",
37-
"eslint-comments/disable-enable-pair": "error",
38-
"eslint-comments/no-aggregating-enable": "error",
39-
"eslint-comments/no-duplicate-disable": "error",
40-
"eslint-comments/no-unlimited-disable": "error",
41-
"eslint-comments/no-unused-disable": "error",
42-
"eslint-comments/no-unused-enable": "error",
43-
"import/first": "error",
44-
"import/newline-after-import": "error",
45-
"import/no-duplicates": "error",
46-
"no-empty": "off",
47-
"no-useless-escape": "off",
48-
"sort-keys-fix/sort-keys-fix": "warn",
18+
'@typescript-eslint/ban-ts-comment': 'off',
19+
'@typescript-eslint/ban-types': 'off',
20+
'@typescript-eslint/consistent-type-imports': 'error',
21+
'@typescript-eslint/explicit-module-boundary-types': 'off',
22+
'@typescript-eslint/indent': 'off',
23+
'@typescript-eslint/no-empty-function': 'off',
24+
'@typescript-eslint/no-empty-interface': 'off',
25+
'@typescript-eslint/no-explicit-any': 'off',
26+
'@typescript-eslint/no-misused-promises': 'off',
27+
'@typescript-eslint/no-non-null-assertion': 'off',
28+
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
29+
'@typescript-eslint/no-unsafe-argument': 'warn',
30+
'@typescript-eslint/no-unsafe-assignment': 'off',
31+
'@typescript-eslint/no-unsafe-call': 'off',
32+
'@typescript-eslint/no-unsafe-member-access': 'off',
33+
'@typescript-eslint/no-unsafe-return': 'off',
34+
'@typescript-eslint/no-use-before-define': 'off',
35+
'@typescript-eslint/no-var-requires': 'off',
36+
'@typescript-eslint/restrict-plus-operands': 'off',
37+
'@typescript-eslint/restrict-template-expressions': 'off',
38+
'eslint-comments/disable-enable-pair': 'error',
39+
'eslint-comments/no-aggregating-enable': 'error',
40+
'eslint-comments/no-duplicate-disable': 'error',
41+
'eslint-comments/no-unlimited-disable': 'error',
42+
'eslint-comments/no-unused-disable': 'error',
43+
'eslint-comments/no-unused-enable': 'error',
44+
'import/first': 'error',
45+
'import/newline-after-import': 'error',
46+
'import/no-duplicates': 'error',
47+
'no-empty': 'off',
48+
'no-useless-escape': 'off',
49+
'sort-keys-fix/sort-keys-fix': 'warn',
4950
},
5051
},
5152
{
52-
plugins: ["json-files"],
53-
files: ["*.json"],
53+
plugins: ['json-files'],
54+
files: ['*.json'],
5455
rules: {
55-
"json-files/require-engines": "warn",
56-
"json-files/require-license": "warn",
57-
"json-files/require-unique-dependency-names": "error",
58-
"json-files/sort-package-json": "warn",
56+
'json-files/require-engines': 'warn',
57+
'json-files/require-license': 'warn',
58+
'json-files/require-unique-dependency-names': 'error',
59+
'json-files/sort-package-json': 'warn',
5960
},
6061
},
6162
],
62-
parser: "@typescript-eslint/parser",
63+
parser: '@typescript-eslint/parser',
6364
parserOptions: {
6465
ecmaVersion: 2020,
65-
project: ["./tsconfig.json"], // debugLevel: true,
66-
sourceType: "module",
66+
project: ['./tsconfig.json'], // debugLevel: true,
67+
sourceType: 'module',
6768
},
68-
plugins: [
69-
"@typescript-eslint",
70-
"sort-keys-fix",
71-
"import",
72-
],
69+
plugins: ['@typescript-eslint', 'sort-keys-fix', 'import'],
7370
root: true,
7471
};

packages/eslint-config-tslint-react/lib/tslint-config-react.js

Lines changed: 48 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,65 @@
11
module.exports = {
22
extends: [
3-
"airbnb-typescript",
4-
"react-app",
5-
"plugin:@typescript-eslint/recommended",
6-
"plugin:react-hooks/recommended",
3+
'airbnb-typescript',
4+
'react-app',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:react-hooks/recommended',
77
],
88
overrides: [
99
{
10-
files: ["*.ts", "*.tsx"],
10+
files: ['*.ts', '*.tsx'],
1111
rules: {
12-
"@typescript-eslint/no-explicit-any": [
13-
"error",
12+
'@typescript-eslint/no-explicit-any': [
13+
'error',
1414
{
1515
ignoreRestArgs: true,
1616
},
1717
],
18-
"@typescript-eslint/no-unused-vars": [
19-
"warn",
18+
'@typescript-eslint/no-unused-vars': [
19+
'warn',
2020
{
21-
args: "none",
22-
vars: "all",
21+
args: 'none',
22+
vars: 'all',
2323
},
2424
],
25-
"@typescript-eslint/semi": ["off"],
26-
"import/no-extraneous-dependencies": [
27-
"error",
25+
'@typescript-eslint/indent': 'off',
26+
'@typescript-eslint/semi': ['off'],
27+
'import/no-extraneous-dependencies': [
28+
'error',
2829
{
2930
devDependencies: [
30-
"**/*.test.js",
31-
"**/*.test.jsx",
32-
"**/*.test.ts",
33-
"**/*.test.tsx",
34-
"src/tests/**/*",
31+
'**/*.test.js',
32+
'**/*.test.jsx',
33+
'**/*.test.ts',
34+
'**/*.test.tsx',
35+
'src/tests/**/*',
3536
],
3637
},
3738
],
38-
"import/prefer-default-export": "off",
39-
"max-len": [
40-
"warn",
39+
'import/prefer-default-export': 'off',
40+
'max-len': [
41+
'warn',
4142
{
4243
code: 80,
4344
ignoreComments: true,
4445
ignoreStrings: true,
4546
ignoreTemplateLiterals: true,
4647
},
4748
],
48-
"no-plusplus": [
49-
"error",
49+
'no-plusplus': [
50+
'error',
5051
{
5152
allowForLoopAfterthoughts: true,
5253
},
5354
],
54-
"object-curly-spacing": ["warn", "always"],
55-
"react/destructuring-assignment": "off",
56-
"react/jsx-boolean-value": "off",
57-
"react/jsx-key": "error",
58-
"react/jsx-one-expression-per-line": "off",
59-
"react/jsx-props-no-spreading": "off",
60-
"react/jsx-sort-props": [
61-
"error",
55+
'object-curly-spacing': ['warn', 'always'],
56+
'react/destructuring-assignment': 'off',
57+
'react/jsx-boolean-value': 'off',
58+
'react/jsx-key': 'error',
59+
'react/jsx-one-expression-per-line': 'off',
60+
'react/jsx-props-no-spreading': 'off',
61+
'react/jsx-sort-props': [
62+
'error',
6263
{
6364
callbacksLast: false,
6465
ignoreCase: true,
@@ -67,35 +68,31 @@ module.exports = {
6768
shorthandLast: false,
6869
},
6970
],
70-
"react/jsx-wrap-multilines": "off",
71-
"react/no-unescaped-entities": "off",
72-
"react/prop-types": "off",
73-
"sort-keys-fix/sort-keys-fix": "warn",
74-
"validate-jsx-nesting/no-invalid-jsx-nesting": "error",
71+
'react/jsx-wrap-multilines': 'off',
72+
'react/no-unescaped-entities': 'off',
73+
'react/prop-types': 'off',
74+
'sort-keys-fix/sort-keys-fix': 'warn',
75+
'validate-jsx-nesting/no-invalid-jsx-nesting': 'error',
7576
},
7677
},
7778
{
78-
files: ["*.json"],
79-
plugins: ["json-files"],
79+
files: ['*.json'],
80+
plugins: ['json-files'],
8081
rules: {
81-
"json-files/require-engines": "warn",
82-
"json-files/require-license": "warn",
83-
"json-files/require-unique-dependency-names": "error",
84-
"json-files/sort-package-json": "warn",
82+
'json-files/require-engines': 'warn',
83+
'json-files/require-license': 'warn',
84+
'json-files/require-unique-dependency-names': 'error',
85+
'json-files/sort-package-json': 'warn',
8586
},
8687
},
8788
],
88-
parser: "@typescript-eslint/parser",
89+
parser: '@typescript-eslint/parser',
8990
parserOptions: {
90-
project: "./tsconfig.json",
91+
project: './tsconfig.json',
9192
},
92-
plugins: [
93-
"sort-keys-fix",
94-
"validate-jsx-nesting",
95-
"@typescript-eslint",
96-
],
93+
plugins: ['sort-keys-fix', 'validate-jsx-nesting', '@typescript-eslint'],
9794
settings: {
98-
"import/resolver": {
95+
'import/resolver': {
9996
typescript: {
10097
alwaysTryTypes: true,
10198
},

0 commit comments

Comments
 (0)