Skip to content

Commit

Permalink
Merge pull request #62 from ronati/beta
Browse files Browse the repository at this point in the history
Push latest dependencies upgrade to master
  • Loading branch information
Nargonath authored Mar 28, 2024
2 parents 378c38b + 23955a4 commit 8888f09
Show file tree
Hide file tree
Showing 6 changed files with 496 additions and 242 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

23 changes: 0 additions & 23 deletions .eslintrc.js

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
with:
node-version: "18.x"
cache: "npm"
- name: Upgrade NPM
run: npm i --global npm@latest
- name: Remove husky scripts installation
run: npm pkg set scripts.prepareBackup="$(npm pkg get scripts.prepare | tr -d \")" && npm pkg delete scripts.prepare
- name: Install dependencies
Expand Down
34 changes: 34 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
const tseslint = require("typescript-eslint");
const eslint = require("@eslint/js");
const eslintPrettier = require("eslint-config-prettier");
const globals = require("globals");

module.exports = tseslint.config(
{ ignores: ["tests/**", "dist/**"] },
eslint.configs.recommended,
...tseslint.configs.recommended,
{
plugins: {
"@typescript-eslint": tseslint.plugin,
},
languageOptions: {
parser: tseslint.parser,
parserOptions: {
project: "tsconfig.json",
},
globals: {
...globals.node,
...globals.jest,
},
},
},
{
files: ["**/*.js"],
...tseslint.configs.disableTypeChecked,
rules: {
...tseslint.configs.disableTypeChecked.rules,
"@typescript-eslint/no-var-requires": "off",
},
},
eslintPrettier,
);
Loading

0 comments on commit 8888f09

Please sign in to comment.