Skip to content

Commit

Permalink
removed tslint in favor of eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Rivola committed Mar 14, 2020
1 parent 0da26ac commit cc66ca3
Show file tree
Hide file tree
Showing 9 changed files with 722 additions and 105 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
build
coverage
jest.config.js
24 changes: 24 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parser": "@typescript-eslint/parser",

"env": {
"browser": false,
"node": true,
"jest": true,
"es6": true
},

"plugins": [
"@typescript-eslint"
],

"parserOptions": {
"sourceType": "module"
},

"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm run tslint
- run: npm run lint
- run: npm run test-ci
- run: npm run publish-code-coverage
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: 12
- run: npm ci
- run: npm run build
- run: npm run tslint
- run: npm run lint
- run: npm run test-ci
- run: npm run publish-code-coverage
env:
Expand Down
Loading

0 comments on commit cc66ca3

Please sign in to comment.