Skip to content

Commit 3815378

Browse files
authored
prepare 6.3.2 (#417)
* prepare 6.3.2 * update to eslint.config * use 18.x
1 parent 7927f59 commit 3815378

File tree

7 files changed

+1051
-366
lines changed

7 files changed

+1051
-366
lines changed

.eslintrc.json

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

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

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

1919
steps:

build/pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ extends:
4848
testPlatforms:
4949
- name: Linux
5050
nodeVersions:
51-
- 16.x
51+
- 18.x
5252
- name: MacOS
5353
nodeVersions:
54-
- 16.x
54+
- 18.x
5555
- name: Windows
5656
nodeVersions:
57-
- 16.x
57+
- 18.x
5858

5959
testSteps:
6060
- script: npm ci

eslint.config.mjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
2+
import tsParser from "@typescript-eslint/parser";
3+
4+
export default [{
5+
files: ["**/*.ts"],
6+
7+
plugins: {
8+
"@typescript-eslint": typescriptEslint,
9+
},
10+
11+
languageOptions: {
12+
parser: tsParser,
13+
ecmaVersion: 6,
14+
sourceType: "module",
15+
},
16+
17+
rules: {
18+
"@typescript-eslint/naming-convention": ["warn", {
19+
selector: "typeLike",
20+
format: ["PascalCase"],
21+
}],
22+
23+
curly: "warn",
24+
eqeqeq: "warn",
25+
"no-throw-literal": "warn",
26+
semi: "off",
27+
},
28+
}];

0 commit comments

Comments
 (0)