Skip to content

Commit

Permalink
chore(repo): typescript eslint plugin and parser
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Nov 18, 2023
1 parent 7ca1609 commit 7d71a20
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ module.exports = {
browser: true,
es6: true
},
extends: ['semistandard', 'eslint:recommended'],
extends: ['semistandard', 'eslint:recommended', 'plugin:@typescript-eslint/recommended'],
plugins: ['react'],
parser: '@babel/eslint-parser',
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"@babel/eslint-parser": "^7.23.3",
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.13.0",
"eslint-config-next": "^14.0.3",
Expand Down
1 change: 1 addition & 0 deletions packages/rtk-query-codegen/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-var-requires */

const { program } = require('commander');
const { exec } = require('child_process');
Expand Down
63 changes: 62 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2594,6 +2594,31 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^6.11.0":
version: 6.11.0
resolution: "@typescript-eslint/eslint-plugin@npm:6.11.0"
dependencies:
"@eslint-community/regexpp": ^4.5.1
"@typescript-eslint/scope-manager": 6.11.0
"@typescript-eslint/type-utils": 6.11.0
"@typescript-eslint/utils": 6.11.0
"@typescript-eslint/visitor-keys": 6.11.0
debug: ^4.3.4
graphemer: ^1.4.0
ignore: ^5.2.4
natural-compare: ^1.4.0
semver: ^7.5.4
ts-api-utils: ^1.0.1
peerDependencies:
"@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 8ba9ce7ce8609a044e405baf57cc84d6973d7676950c870288d7eae2dba44b36664e3f4d90b94a4de08e17259fe8baa7790750cd4e5391dbe2a2743497d7fae2
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^5.4.2 || ^6.0.0, @typescript-eslint/parser@npm:^6.0.0":
version: 6.7.3
resolution: "@typescript-eslint/parser@npm:6.7.3"
Expand All @@ -2612,7 +2637,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^6.7.5":
"@typescript-eslint/parser@npm:^6.11.0, @typescript-eslint/parser@npm:^6.7.5":
version: 6.11.0
resolution: "@typescript-eslint/parser@npm:6.11.0"
dependencies:
Expand Down Expand Up @@ -2650,6 +2675,23 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:6.11.0":
version: 6.11.0
resolution: "@typescript-eslint/type-utils@npm:6.11.0"
dependencies:
"@typescript-eslint/typescript-estree": 6.11.0
"@typescript-eslint/utils": 6.11.0
debug: ^4.3.4
ts-api-utils: ^1.0.1
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 2effbe62ae3b12f8a88663072f68a5dcb1135d9ee3c09a0d9fcf49b943837c0a5966e907d4a1a15c27ddf82af2fcf7f6e004655d3e1f7a17c21596469771ff7d
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:6.7.3":
version: 6.7.3
resolution: "@typescript-eslint/type-utils@npm:6.7.3"
Expand Down Expand Up @@ -2717,6 +2759,23 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:6.11.0":
version: 6.11.0
resolution: "@typescript-eslint/utils@npm:6.11.0"
dependencies:
"@eslint-community/eslint-utils": ^4.4.0
"@types/json-schema": ^7.0.12
"@types/semver": ^7.5.0
"@typescript-eslint/scope-manager": 6.11.0
"@typescript-eslint/types": 6.11.0
"@typescript-eslint/typescript-estree": 6.11.0
semver: ^7.5.4
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
checksum: e90aa2c8c56038a48de65a5303f9e4a4a70bb0d4d0a05cfcd28157fc0f06b2fc186c2e76a495f4540a903ea37577daa1403bab923d940114ec27a6326153d60f
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:6.7.3":
version: 6.7.3
resolution: "@typescript-eslint/utils@npm:6.7.3"
Expand Down Expand Up @@ -10291,6 +10350,8 @@ __metadata:
"@babel/eslint-parser": ^7.23.3
"@commitlint/cli": ^17.7.2
"@commitlint/config-conventional": ^17.7.0
"@typescript-eslint/eslint-plugin": ^6.11.0
"@typescript-eslint/parser": ^6.11.0
cz-conventional-changelog: ^3.3.0
eslint: ^8.13.0
eslint-config-next: ^14.0.3
Expand Down

0 comments on commit 7d71a20

Please sign in to comment.