Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
style: upgrading @readme/eslint-config to v4 (#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion authored Dec 14, 2020
1 parent 2404aac commit 8c2ed7e
Show file tree
Hide file tree
Showing 20 changed files with 9,450 additions and 2,561 deletions.
9,552 changes: 7,377 additions & 2,175 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@readme/eslint-config": "^3.2.0",
"@readme/eslint-config": "^4.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/api-explorer/__tests__/Doc.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global.Request = Request;

const React = require('react');
const { shallow, mount } = require('enzyme');
const { waitFor } = require('@testing-library/dom');
const { waitFor } = require('@testing-library/react');
const Doc = require('../src/Doc');
const ErrorBoundary = require('../src/ErrorBoundary');

Expand Down
2 changes: 1 addition & 1 deletion packages/api-explorer/__tests__/ResponseExample.test.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const React = require('react');
const { shallow } = require('enzyme');
const { waitFor } = require('@testing-library/dom');
const { waitFor } = require('@testing-library/react');
const extensions = require('@readme/oas-extensions');
const Oas = require('oas/tooling');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const React = require('react');
const { shallow, mount } = require('enzyme');
const { waitFor } = require('@testing-library/dom');
const { waitFor } = require('@testing-library/react');
const Oas = require('oas/tooling');

const ResponseSchemaBody = require('../src/ResponseSchemaBody');
Expand Down
2 changes: 1 addition & 1 deletion packages/api-explorer/__tests__/ResponseTabs.test.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const React = require('react');
const { shallow, mount } = require('enzyme');
const { waitFor } = require('@testing-library/dom');
const { waitFor } = require('@testing-library/react');
const FetchResponse = require('node-fetch').Response;
const Oas = require('oas/tooling');

Expand Down
185 changes: 145 additions & 40 deletions packages/api-explorer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/api-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
"react-dom": "16.x"
},
"devDependencies": {
"@readme/eslint-config": "^3.2.0",
"@readme/eslint-config": "^4.0.0",
"@readme/markdown": "^6.21.0",
"@readme/oas-examples": "^4.0.0",
"@readme/ui": "^1.17.0",
"@readme/variable": "^10.0.7",
"@testing-library/dom": "^7.26.3",
"@testing-library/react": "^11.2.2",
"css-loader": "^4.3.0",
"eslint": "^7.0.0",
"jest": "^26.0.1",
Expand Down
Loading

0 comments on commit 8c2ed7e

Please sign in to comment.