Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump @appium/eslint-config-appium-ts from 0.3.3 to 1.0.1 #149

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

22 changes: 0 additions & 22 deletions .eslintrc.json

This file was deleted.

5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import appiumConfig from '@appium/eslint-config-appium-ts';

export default [
...appiumConfig,
];
2 changes: 1 addition & 1 deletion lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function findAppPaths (bundleId) {
({stdout} = await exec('/usr/bin/mdfind', [
`kMDItemCFBundleIdentifier=${bundleId}`
]));
} catch (e) {
} catch {
return [];
}

Expand Down
4 changes: 2 additions & 2 deletions lib/xcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path';
import { retry } from 'asyncbox';
import _ from 'lodash';
import { exec } from 'teen_process';
import semver from 'semver';
import * as semver from 'semver';
import {
runXcrunCommand, findAppPaths, XCRUN_TIMEOUT, readXcodePlist
} from './helpers';
Expand Down Expand Up @@ -176,7 +176,7 @@ async function getVersion (parse = false, retries = DEFAULT_NUMBER_OF_RETRIES, t
async function getClangVersion () {
try {
await fs.which('clang');
} catch (e) {
} catch {
log.info('Cannot find clang executable on the local system. ' +
'Are Xcode Command Line Tools installed?');
return null;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"singleQuote": true
},
"devDependencies": {
"@appium/eslint-config-appium-ts": "^0.x",
"@appium/eslint-config-appium-ts": "^1.x",
"@appium/tsconfig": "^0.x",
"@appium/types": "^0.x",
"@semantic-release/changelog": "^6.0.1",
Expand Down
4 changes: 1 addition & 3 deletions test/unit/index-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import xcode from '../../lib/index';

describe('index', function () {
let chai;
let should;

before(async function() {
chai = await import('chai');

should = chai.should();
chai.should();
});


Expand Down
Loading