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

Commit 18357a9

Browse files
committed
fix: use kesills/airbnb-typescript pkg
1 parent 672b9db commit 18357a9

File tree

4 files changed

+141
-101
lines changed

4 files changed

+141
-101
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ export default [
4141
sourceType: 'module',
4242

4343
parserOptions: {
44-
project: ['./tsconfig.json'],
4544
extraFileExtensions: ['.json'],
45+
project: ['./tsconfig.json'],
46+
projectService: true,
47+
tsconfigRootDir: import.meta.dirname,
4648
},
4749
},
4850
},

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const compat = new FlatCompat({
2323
export default [
2424
...fixupConfigRules(
2525
compat.extends(
26-
'airbnb-typescript',
26+
'@kesills/airbnb-typescript',
2727
'plugin:@typescript-eslint/recommended',
2828
'plugin:react-hooks/recommended',
2929
),
@@ -41,7 +41,10 @@ export default [
4141
ecmaVersion: 5,
4242
sourceType: 'script',
4343
parserOptions: {
44-
project: './tsconfig.json',
44+
extraFileExtensions: ['.json'],
45+
project: ['./tsconfig.json'],
46+
projectService: true,
47+
tsconfigRootDir: import.meta.dirname,
4548
},
4649
},
4750
settings: {

packages/eslint-config-tslint-react/package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"name": "@chieforz/eslint-config-tslint-react",
33
"version": "1.4.3",
4-
"keywords": [
5-
"tslint",
6-
"tslint config",
7-
"tslint-config-react"
8-
],
4+
"keywords": ["tslint", "tslint config", "tslint-config-react"],
95
"repository": {
106
"type": "git",
117
"url": "https://github.com/ChiefORZ/tslint-config-react"
@@ -20,17 +16,15 @@
2016
"directories": {
2117
"lib": "lib"
2218
},
23-
"files": [
24-
"lib"
25-
],
19+
"files": ["lib"],
2620
"dependencies": {
2721
"@eslint/compat": "^1.2.1",
2822
"@eslint/eslintrc": "^3.1.0",
2923
"@eslint/js": "^9.13.0",
24+
"@kesills/eslint-config-airbnb-typescript": "^20.0.0",
3025
"@typescript-eslint/eslint-plugin": "^8.11.0",
3126
"@typescript-eslint/parser": "^8.11.0",
3227
"eslint-config-airbnb": "^19.0.4",
33-
"eslint-config-airbnb-typescript": "^18.0.0",
3428
"eslint-import-resolver-typescript": "^3.6.3",
3529
"eslint-plugin-import": "^2.31.0",
3630
"eslint-plugin-json-files": "^4.4.1",

0 commit comments

Comments
 (0)