Skip to content

Commit

Permalink
prepare 6.3.2 (#417)
Browse files Browse the repository at this point in the history
* prepare 6.3.2

* update to eslint.config

* use 18.x
  • Loading branch information
aeschli authored Dec 2, 2024
1 parent 7927f59 commit 3815378
Show file tree
Hide file tree
Showing 7 changed files with 1,051 additions and 366 deletions.
31 changes: 0 additions & 31 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, 18.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
6 changes: 3 additions & 3 deletions build/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ extends:
testPlatforms:
- name: Linux
nodeVersions:
- 16.x
- 18.x
- name: MacOS
nodeVersions:
- 16.x
- 18.x
- name: Windows
nodeVersions:
- 16.x
- 18.x

testSteps:
- script: npm ci
Expand Down
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 3815378

Please sign in to comment.