Skip to content

Commit

Permalink
enable linting for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
copleykj committed May 16, 2021
1 parent 2d811fe commit 4fb6f8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: meteor npm run lint
- run: cd testApp && meteor npm ci
- run: cd testApp && meteor npm run test
1 change: 0 additions & 1 deletion lib/client/fast_render.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global location */
import { Meteor } from 'meteor/meteor';
import { Accounts } from 'meteor/accounts-base';
import { onPageLoad } from 'meteor/server-render';
Expand Down
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"scripts": {
"lint": "eslint --fix ./",
"lint": "eslint ./",
"publish-release": "rimraf ./node_modules && meteor publish && meteor npm i --only=dev",
"pre-commit": "lint-staged",
"prepare": "husky install"
Expand All @@ -22,6 +22,7 @@
"extends": [
"standard"
],
"ignorePatterns": ["node_modules", "testApp/packages"],
"rules": {
"semi": [
2,
Expand All @@ -37,15 +38,6 @@
"browser": true,
"node": true,
"es6": true
},
"settings": {
"import/resolver": {
"meteor": {
"extensions": [
".js"
]
}
}
}
},
"lint-staged": {
Expand Down

0 comments on commit 4fb6f8d

Please sign in to comment.