Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
  • Loading branch information
jef committed Sep 18, 2020
1 parent 487e5aa commit 4fc7dba
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- name: Add problem matcher
run: echo "::add-matcher::.github/xo-problem-matcher.json"
- name: Pull dependencies
run: |
npm ci
Expand Down
21 changes: 21 additions & 0 deletions .github/xo-problem-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"problemMatcher": [
{
"owner": "xo",
"pattern": [
{
"regexp": "^\\s+(.*):(\\d+):(\\d+)$",
"file": 1
},
{
"regexp": "^\\s+✖\\s+(\\d+):(\\d+)\\s+(.*)\\s+(.*)$",
"line": 1,
"column": 2,
"message": 3,
"code": 4,
"loop": true
}
]
}
]
}
4 changes: 2 additions & 2 deletions src/store/bestbuy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export const BestBuy: Store = {
oosLabels: ['sold out']
},
{
brand: 'gigabyte',
brand: 'gigabyte',
model: 'black',
url: 'https://www.bestbuy.com/site/gigabyte-geforce-rtx-3080-10g-gddr6x-pci-express-4-0-graphics-card-black/6430620.p?acampID=0&cmp=RMX&loc=Hatch&ref=198&skuId=6430620',
oosLabels: ['sold out']
oosLabels: ['sold out']
}
],
name: 'bestbuy'
Expand Down
4 changes: 2 additions & 2 deletions src/store/evga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const Evga: Store = {
model: 'ftw3, xc3 black, xc3 gaming, xc3 ultra gaming',
url: 'https://www.evga.com/products/productlist.aspx?type=0&family=GeForce+30+Series+Family&chipset=RTX+3080',
oosLabels: ['out of stock']
},
}
],
name: 'evga'
name: 'evga'
};

0 comments on commit 4fc7dba

Please sign in to comment.