Skip to content

Commit

Permalink
chore: convert smoke test config to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Dec 31, 2021
1 parent cafe97a commit 36d3fd9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ jobs:
- uses: AriPerkkio/eslint-remote-tester-run-action@v3
with:
issue-title: 'Results of weekly scheduled smoke test'
eslint-remote-tester-config: eslint-remote-tester.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

const {
getRepositories,
import { Config } from 'eslint-remote-tester';
import {
getPathIgnorePattern,
} = require('eslint-remote-tester-repositories');
getRepositories,
} from 'eslint-remote-tester-repositories';

// eslint-disable-next-line import/no-commonjs
module.exports = {
const config: Config = {
repositories: getRepositories({ randomize: true }),
pathIgnorePattern: getPathIgnorePattern(),
extensions: ['js', 'jsx', 'ts', 'tsx'],
Expand All @@ -29,3 +29,5 @@ module.exports = {
extends: ['plugin:jest/all'],
},
};

export default config;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"eslint-plugin-import": "^2.25.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-remote-tester": "^2.0.1",
"eslint-remote-tester": "^2.1.0",
"eslint-remote-tester-repositories": "^0.0.3",
"husky": "^7.0.2",
"is-ci": "^3.0.0",
Expand Down
14 changes: 9 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4529,7 +4529,7 @@ __metadata:
eslint-plugin-import: ^2.25.1
eslint-plugin-node: ^11.0.0
eslint-plugin-prettier: ^3.4.1
eslint-remote-tester: ^2.0.1
eslint-remote-tester: ^2.1.0
eslint-remote-tester-repositories: ^0.0.3
husky: ^7.0.2
is-ci: ^3.0.0
Expand Down Expand Up @@ -4592,9 +4592,9 @@ __metadata:
languageName: node
linkType: hard

"eslint-remote-tester@npm:^2.0.1":
version: 2.0.1
resolution: "eslint-remote-tester@npm:2.0.1"
"eslint-remote-tester@npm:^2.1.0":
version: 2.1.1
resolution: "eslint-remote-tester@npm:2.1.1"
dependencies:
"@babel/code-frame": ^7.12.13
JSONStream: ^1.3.5
Expand All @@ -4605,9 +4605,13 @@ __metadata:
simple-git: ^2.20.1
peerDependencies:
eslint: ">=7"
ts-node: ">=9.0.0"
peerDependenciesMeta:
ts-node:
optional: true
bin:
eslint-remote-tester: dist/index.js
checksum: d32da17edf1db01d78fc1ca358d9fb9dbb6be75ff931b71d52eb7cae5cbb3ea1d18e57c55573820f306db28a2b2411b61b73e1eb763b7997926d0e5331dd4660
checksum: 146037bfbc0e0faf0c53dc1fa5170c5990306667f8a6db2e18cb897746f1e0839901bb517893f46bedc313cca74e05a342d06462ceed5a2922c68f59bdff883e
languageName: node
linkType: hard

Expand Down

0 comments on commit 36d3fd9

Please sign in to comment.