Skip to content

Commit 1087f79

Browse files
authored
Merge pull request #31 from lumaxis/feature/update-dependencies
Upgrade: Switch ESLint 7 and update other dependencies
2 parents debc33d + 821c12f commit 1087f79

File tree

9 files changed

+205
-149
lines changed

9 files changed

+205
-149
lines changed

.eslintrc.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
{
22
"root": true,
3+
"extends": [
4+
"eslint:recommended",
5+
"plugin:@typescript-eslint/recommended",
6+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
7+
],
38
"parser": "@typescript-eslint/parser",
49
"parserOptions": {
510
"ecmaVersion": 6,
11+
"project": "./tsconfig.json",
612
"sourceType": "module"
713
},
814
"plugins": ["@typescript-eslint"],
915
"rules": {
10-
"@typescript-eslint/class-name-casing": "warn",
16+
"@typescript-eslint/naming-convention": [
17+
"warn",
18+
{
19+
"selector": "class",
20+
"format": ["PascalCase"]
21+
}
22+
],
1123
"@typescript-eslint/semi": "warn",
1224
"curly": "warn",
1325
"eqeqeq": "warn",

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ on:
1111

1212
jobs:
1313
build:
14-
14+
name: Build & Test
1515
runs-on: ubuntu-latest
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 13.x]
19+
node-version: [12, 14]
2020

2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v1
24+
uses: actions/setup-node@v2-beta
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci

0 commit comments

Comments
 (0)