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

refactor: removing code formatting + upgrading to prettier 3 #688

Merged
merged 5 commits into from
Aug 4, 2023
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
5 changes: 1 addition & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"extends": [
"@readme/eslint-config",
"@readme/eslint-config/typescript"
],
"extends": ["@readme/eslint-config", "@readme/eslint-config/typescript"],
"root": true,
"overrides": [
{
Expand Down
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Say you have the following snippet:

```js
const sdk = require('api')(
'https://raw.githubusercontent.com/readmeio/api/main/packages/httpsnippet-client-api/test/__datasets__/query/openapi.json'
'https://raw.githubusercontent.com/readmeio/api/main/packages/httpsnippet-client-api/test/__datasets__/query/openapi.json',
);

sdk
Expand Down Expand Up @@ -112,7 +112,7 @@ module.exports = {
const body = await streamToString(opts.body);

return /--form-data-boundary-(.*)\r\nContent-Disposition: form-data; name="foo"; filename="hello.txt"\r\nContent-Type: text\/plain\r\n\r\nHello world!\n\r\n--form-data-boundary-(.*)--\r\n\r\n/.test(
body
body,
);
},
},
Expand Down
20 changes: 10 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
directory: '/'
schedule:
interval: monthly
reviewers:
Expand All @@ -13,7 +13,7 @@ updates:
prefix-development: chore(deps-dev)

- package-ecosystem: npm
directory: "/"
directory: '/'
schedule:
interval: monthly
open-pull-requests-limit: 10
Expand All @@ -29,25 +29,25 @@ updates:
# ESM-only packages and we can't yet upgrade them.
- dependency-name: chalk
versions:
- ">= 5"
- '>= 5'
- dependency-name: execa
versions:
- ">= 6"
- '>= 6'
- dependency-name: figures
versions:
- ">= 4"
- '>= 4'
- dependency-name: find-cache-dir
versions:
- ">= 4"
- '>= 4'
- dependency-name: form-data-encoder
versions:
- ">= 2"
- '>= 2'
- dependency-name: formdata-node
versions:
- ">= 5"
- '>= 5'
- dependency-name: ora
versions:
- ">= 6"
- '>= 6'
- dependency-name: stringify-object
versions:
- ">= 4"
- '>= 4'
20 changes: 10 additions & 10 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: 'CodeQL'

on:
push:
Expand All @@ -20,16 +20,16 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ['javascript']

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
test:
name: "chunk #${{ matrix.chunk }}"
name: 'chunk #${{ matrix.chunk }}'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
Loading
Loading