Skip to content

Commit

Permalink
chore(deps): update devdependencies eslint from v8.57.0 to v9 (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dan Adajian <[email protected]>
  • Loading branch information
renovate[bot] and danadajian authored Apr 22, 2024
1 parent 66b4a88 commit 52f6b49
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 23 deletions.
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"
}

0 comments on commit 52f6b49

Please sign in to comment.