Skip to content

Commit 3ca0412

Browse files
committed
Add eslint
1 parent 24aa873 commit 3ca0412

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.d.ts

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ jobs:
1313
- uses: actions/setup-node@v3
1414
with:
1515
node-version: 18
16+
- name: Lint
17+
run: npm run lint
1618
- name: Pseudo release
1719
run: buildtools/release.sh

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"build-umd": "cross-env NODE_ENV=production TARGET=umd webpack --progress --bail",
1010
"start": "cross-env DEV_SERVER=1 NODE_ENV=development TARGET=examples webpack serve --port 3000 --progress --bail --static-directory .",
1111
"typecheck": "tsc --pretty",
12+
"lint": "eslint src",
1213
"doc": "typedoc --name ol-cesium --excludeExternals --out dist/apidoc --entryPoints src/index.library.js --tsconfig ./tsconfig.json"
1314
},
1415
"main": "./dist/olcesium.js",

0 commit comments

Comments
 (0)