Skip to content

Commit

Permalink
⬆️🔧♻️ Bump the development-dependencies and update ESLint configurati…
Browse files Browse the repository at this point in the history
…on (#317)
  • Loading branch information
dependabot[bot] committed Aug 19, 2024
2 parents 062857c + 275fe5a commit 3e870ee
Show file tree
Hide file tree
Showing 12 changed files with 481 additions and 2,495 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

75 changes: 0 additions & 75 deletions .eslintrc.json

This file was deleted.

81 changes: 0 additions & 81 deletions .github/linters/.eslintrc.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/linters/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// @ts-check

import eslint from "@eslint/js"
import tseslint from "typescript-eslint"

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.stylisticTypeChecked,
...tseslint.configs.strictTypeChecked,
{
languageOptions: {
parserOptions: {
project: ["./.github/linters/tsconfig.json", "./tsconfig.json"]
}
}
},
{
ignores: ["**/dist", "**/node_modules", "**/coverage", "**/eslint.config.mjs"]
}
)
2 changes: 1 addition & 1 deletion __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe("Z3 Setup Tests", () => {
]

for (const { name, version, platform, architecture, addToLibraryPath } of testCases) {
test(`${name}`, async () => {
test(name, async () => {
const ret = await executeTest(version, platform, architecture, addToLibraryPath)
expect(ret).toEqual(0)
})
Expand Down
10 changes: 5 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.js.map

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// @ts-check

import eslint from "@eslint/js"
import tseslint from "typescript-eslint"

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.stylisticTypeChecked,
...tseslint.configs.strictTypeChecked,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname
}
}
},
{
ignores: ["**/dist", "**/node_modules", "**/coverage", "**/eslint.config.mjs"]
}
)
Loading

0 comments on commit 3e870ee

Please sign in to comment.