Skip to content

Commit a690df4

Browse files
author
Philipp Karlsson
committed
adding eslint
1 parent c7d1280 commit a690df4

File tree

10 files changed

+5037
-43
lines changed

10 files changed

+5037
-43
lines changed

.github/workflows/release-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: '19.x'
15+
node-version: 'v19.1.0'
16+
npm-version: '9.4.2'
1617
- name: npm install library
1718
working-directory: ./library
1819
run: npm install

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4+
*/build
5+
*/dist
46
*/node_modules
57
/.pnp
68
.pnp.js

library/.eslintrc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 2018,
5+
"sourceType": "module"
6+
},
7+
"plugins": ["@typescript-eslint"],
8+
"extends": ["plugin:@typescript-eslint/recommended"]
9+
}

0 commit comments

Comments
 (0)