Skip to content

Commit

Permalink
fix: use kesills/airbnb-typescript pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiefORZ committed Oct 24, 2024
1 parent 672b9db commit 18357a9
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 101 deletions.
4 changes: 3 additions & 1 deletion packages/eslint-config-tslint-base/lib/tslint-config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ export default [
sourceType: 'module',

parserOptions: {
project: ['./tsconfig.json'],
extraFileExtensions: ['.json'],
project: ['./tsconfig.json'],
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const compat = new FlatCompat({
export default [
...fixupConfigRules(
compat.extends(
'airbnb-typescript',
'@kesills/airbnb-typescript',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
),
Expand All @@ -41,7 +41,10 @@ export default [
ecmaVersion: 5,
sourceType: 'script',
parserOptions: {
project: './tsconfig.json',
extraFileExtensions: ['.json'],
project: ['./tsconfig.json'],
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
settings: {
Expand Down
12 changes: 3 additions & 9 deletions packages/eslint-config-tslint-react/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"name": "@chieforz/eslint-config-tslint-react",
"version": "1.4.3",
"keywords": [
"tslint",
"tslint config",
"tslint-config-react"
],
"keywords": ["tslint", "tslint config", "tslint-config-react"],
"repository": {
"type": "git",
"url": "https://github.com/ChiefORZ/tslint-config-react"
Expand All @@ -20,17 +16,15 @@
"directories": {
"lib": "lib"
},
"files": [
"lib"
],
"files": ["lib"],
"dependencies": {
"@eslint/compat": "^1.2.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@kesills/eslint-config-airbnb-typescript": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-json-files": "^4.4.1",
Expand Down
Loading

0 comments on commit 18357a9

Please sign in to comment.