Skip to content

Commit e4d19d7

Browse files
authored
Merge pull request #28 from time-loop/mike-m/fix-ci-run
chore(fields): update CI run
2 parents 9c34e04 + 07169df commit e4d19d7

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [develop]
5+
branches: [main]
66
pull_request:
77

88
jobs:

.github/workflows/semgrep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Semgrep
33

44
on:
55
pull_request:
6-
branches: ['develop']
6+
branches: ['main']
77

88
# Schedule the CI job (this method uses cron syntax):
99
schedule:

src/error.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export default function error(type) {
4949
export function isValidStrict(type) {
5050
let valid = false;
5151

52-
// eslint-disable-next-line no-restricted-syntax
5352
for (const i in errors) {
5453
if (Object.prototype.hasOwnProperty.call(errors, i) && errors[i] === type) {
5554
valid = true;

test/integration/parsing/error.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ describe('.parse() error', () => {
2525
expect(parser.parse('#N/A')).toMatchObject({ error: '#N/A', result: null });
2626
expect(parser.parse('#N/A!')).toMatchObject({ error: '#ERROR!', result: null });
2727
expect(parser.parse('#N/A?')).toMatchObject({ error: '#ERROR!', result: null });
28-
/* eslint-disable no-useless-escape */
2928
expect(parser.parse('#NA')).toMatchObject({ error: '#ERROR!', result: null });
3029
});
3130

0 commit comments

Comments
 (0)