Skip to content

Commit 7665e49

Browse files
authored
Merge pull request #87 from funktechno/f/upgrade_versions
F/upgrade versions
2 parents 8a8a7f6 + ec13a4b commit 7665e49

6 files changed

Lines changed: 900 additions & 382 deletions

File tree

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/dependabot_automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
auto-merge:
8-
# if: github.actor == 'dependabot[bot]'
8+
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'imgbot[bot]' }}
99
runs-on: ubuntu-latest
1010
steps:
1111
- run: echo ${GITHUB_ACTOR}

eslint.config.mjs

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
import globals from "globals";
2-
import pluginJs from "@eslint/js";
3-
import tseslint from "typescript-eslint";
2+
import tsPlugin from "@typescript-eslint/eslint-plugin";
3+
import tsParser from "@typescript-eslint/parser";
44

55
export default [
6-
pluginJs.configs.recommended,
7-
...tseslint.configs.recommended,
86
{
97
files: ["**/*.{js,mjs,cjs,ts}"],
8+
languageOptions: {
9+
parser: tsParser,
10+
parserOptions: {
11+
ecmaVersion: 2022,
12+
sourceType: "module",
13+
project: "./tsconfig.eslint.json",
14+
},
15+
globals: globals.browser,
16+
},
17+
plugins: {
18+
'@typescript-eslint': tsPlugin,
19+
},
20+
1021
rules: {
1122
semi: ["error", "always"],
1223
quotes: ["off", "double"],
1324
"@typescript-eslint/explicit-function-return-type": "off",
14-
"@typescript-eslint/camelcase": "off",
1525
"@typescript-eslint/no-unsafe-function-type": "off",
1626
"@typescript-eslint/no-explicit-any": "off",
1727
"no-useless-escape": "off",
@@ -27,9 +37,8 @@ export default [
2737
},
2838
],
2939
"@typescript-eslint/no-unused-vars": "warn",
30-
"@typescript-eslint/class-name-casing": "off",
3140
},
32-
ignores: ["lib/*", "deps/*", "dist/*", "archived"],
41+
ignores: ["lib/*", "deps/*", "dist/*", "archived", "node_modules", "./*.js"],
3342
},
3443
{
3544
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/**/*.spec.{j,t}s?(x)"],

0 commit comments

Comments
 (0)