Skip to content

Commit

Permalink
prepare 5.4.2 (#253)
Browse files Browse the repository at this point in the history
* prepare 5.4.2

* use node 18 in ci build
  • Loading branch information
aeschli authored Dec 2, 2024
1 parent 2aaba60 commit 601d5eb
Show file tree
Hide file tree
Showing 6 changed files with 849 additions and 765 deletions.
27 changes: 0 additions & 27 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ src/
test/
.gitignore
.travis.yml
.eslintrc.json
eslint.config.mjs
gulpfile.js
.mocharc.json
28 changes: 28 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";

export default [{
files: ["**/*.ts"],

plugins: {
"@typescript-eslint": typescriptEslint,
},

languageOptions: {
parser: tsParser,
ecmaVersion: 6,
sourceType: "module",
},

rules: {
"@typescript-eslint/naming-convention": ["warn", {
selector: "typeLike",
format: ["PascalCase"],
}],

curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "off",
},
}];
Loading

0 comments on commit 601d5eb

Please sign in to comment.