We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a9f81 commit c2f0dadCopy full SHA for c2f0dad
.eslintrc.yml
@@ -0,0 +1,11 @@
1
+env:
2
+ node: true
3
+ es2021: true
4
+
5
+extends: eslint:recommended
6
7
+parserOptions:
8
+ ecmaVersion: latest
9
10
+rules:
11
+ no-unused-vars: 1
.github/workflows/ci.yml
@@ -33,3 +33,10 @@ jobs:
33
outputs:
34
active: ${{ steps.get.outputs.active }}
35
lts: ${{ steps.get.outputs.lts }}
36
37
+ lint:
38
+ runs-on: ubuntu-latest
39
+ steps:
40
+ - uses: actions/checkout@v4
41
+ - uses: actions/setup-node@v4
42
+ - run: npm run lint
package.json
@@ -8,6 +8,7 @@
"!win32"
],
"scripts": {
+ "lint": "npx eslint@8 *.js",
12
"test": "tap --allow-incomplete-coverage test/test-*.js"
13
},
14
"author": "Sam Roberts <rsam@ca.ibm.com>",
0 commit comments