Skip to content

Commit 2b088bf

Browse files
authored
Merge pull request #17 from MatrixAI/feature-integrate-js-lint
Integrate js-lint and removing old linting elements
2 parents a8ede88 + 59725a7 commit 2b088bf

File tree

5 files changed

+3091
-1349
lines changed

5 files changed

+3091
-1349
lines changed

.eslintrc

Lines changed: 0 additions & 184 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,9 @@ exec can be used in the following way.
1515
```ts
1616
import { exec } from '@matrixai/exec';
1717
// This should output the current enviroment while adding `test_env` to it.
18-
exec.execvp(
19-
'node',
20-
[
21-
'-e',
22-
'console.log(process.env)',
23-
],
24-
{
25-
test_env: 'this value'
26-
},
27-
);
18+
exec.execvp('node', ['-e', 'console.log(process.env)'], {
19+
test_env: 'this value',
20+
});
2821
```
2922

3023
Note that only linux and mac platforms are supported.

benches/exec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function main() {
99
const summary = await b.suite(
1010
path.basename(filePath, path.extname(filePath)),
1111
b.add('stub', () => {
12-
1 + 1;
12+
return 1 + 1;
1313
}),
1414
...suiteCommon,
1515
);

0 commit comments

Comments
 (0)