Skip to content

Commit 9ac720d

Browse files
authored
Lint for eval and rename workflow files (#841)
* Lint for eval * Rename github actions
1 parent 5c2b5c5 commit 9ac720d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.eslintrc

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"rules": {
1515
"no-console": "off",
16+
"no-eval": "error",
1617
"prettier/prettier": "error",
1718
"@typescript-eslint/explicit-function-return-type": "off",
1819
"@typescript-eslint/ban-ts-ignore": "off",

.github/workflows/nodejs.yml .github/workflows/build.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
name: Node CI
1+
name: Build CI
22

33
on: [push, pull_request]
44

55
jobs:
6-
build:
7-
6+
build_lint:
87
runs-on: ubuntu-latest
98

109
strategy:
1110
matrix:
1211
node-version: [16.10.x]
1312

1413
steps:
15-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2.3.4
1615
- name: Use Node.js ${{ matrix.node-version }}
1716
uses: actions/setup-node@v1
1817
with:
File renamed without changes.

0 commit comments

Comments
 (0)