Skip to content

Commit

Permalink
feat: fix the peer dep test; update all deps to latest
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
- Several ESLint plugins received major updates.
- ESLint versions below v7.15.0 are no longer supported.
  • Loading branch information
marcusrbrown committed Mar 3, 2021
1 parent deaceff commit 51d1864
Show file tree
Hide file tree
Showing 4 changed files with 4,868 additions and 4,459 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This project adheres to the American Express [Code of Conduct](./CODE_OF_CONDUCT
3. Install the dependencies by running

```bash
$ cd npm install
$ npm install
```

4. You can now run any of these scripts from the root folder.
Expand Down
2 changes: 1 addition & 1 deletion __tests__/package.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('package.json', () => {
expect.assertions(2);
// ex:
// npm ERR! peer dep missing: eslint@<2.3.0, required by babel-eslint@5.0.4
const { stdout, stderr } = exec('npm ls', {
const { stdout, stderr } = await exec('npm ls', {
cwd: path.resolve(__dirname, '../'),
});
// if there are no complaints from npm, stdout is null
Expand Down
Loading

0 comments on commit 51d1864

Please sign in to comment.