Skip to content

chore(deps): update devdependencies eslint from v8.57.0 to v9 #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- alpha

jobs:
publish:
Expand Down
2 changes: 2 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ plugins:
- "@semantic-release/release-notes-generator"
branches:
- main
- name: alpha
prerelease: true
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ config:
generates:
test/integration/Types.kt:
plugins:
- "dist/plugin.js"
- "dist/plugin.cjs"
24 changes: 24 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// @ts-check

import typescriptEslint from "typescript-eslint";

export default [
...typescriptEslint.configs.recommended,
{
files: ["**/*.ts"],
languageOptions: {
parser: typescriptEslint.parser,
parserOptions: {
project: true,
},
},
rules: {
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-unsafe-argument": "error",
"@typescript-eslint/no-unsafe-call": "error",
},
},
{
ignores: ["build", "dist", "docs"],
},
];
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@expediagroup/graphql-kotlin-codegen",
"packageManager": "bun@1.0.30",
"main": "dist/plugin.js",
"types": "dist/plugin.d.ts",
"packageManager": "bun@1.1.4",
"main": "dist/plugin.cjs",
"types": "dist/plugin.d.cts",
"files": [
"dist",
"README.md"
Expand All @@ -27,13 +27,13 @@
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@total-typescript/ts-reset": "0.5.1",
"@typescript-eslint/eslint-plugin": "7.7.0",
"bun-types": "1.1.4",
"eslint": "8.57.0",
"eslint": "9.1.0",
"husky": "9.0.11",
"prettier": "3.2.5",
"tsup": "8.0.2",
"typescript": "5.4.5"
"typescript": "5.4.5",
"typescript-eslint": "7.7.1"
},
"scripts": {
"build": "tsup src/plugin.ts --clean --dts --external graphql",
Expand All @@ -44,5 +44,6 @@
"prepack": "bun run build",
"prepare": "husky",
"test": "bun test"
}
},
"type": "module"
}