Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Fetch upstream changes from Kong/httpsnippet #11

Open
wants to merge 157 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
f4c301f
Remove the verify_none line for Ruby
gkoberger Apr 3, 2017
530b847
Remove debug dependency
gkoberger Apr 9, 2017
e09d15d
Move jquery b/c of webpack crap
gkoberger Apr 9, 2017
58e9bda
Merge remote-tracking branch 'upstream/master'
erunion May 22, 2020
f090b1c
chore: pulling our fork back into step with upstream
erunion May 22, 2020
0cecdd3
Adding the ability to import custom targets and target clients.
erunion May 26, 2020
02ef6fa
Simplifying the custom target client API a bit.
erunion May 26, 2020
b7818e6
Adding some docs on the new target and client APIs to the readme.
erunion May 26, 2020
fa57cba
add java async http client
windard May 8, 2020
cc8e368
Merge pull request #163 from windard/add_java_asynchttp
reynolek May 27, 2020
80dfecc
chore(deps): bump handlebars from 4.1.2 to 4.7.6
dependabot[bot] May 27, 2020
49bc69b
Merge remote-tracking branch 'upstream/master'
erunion May 27, 2020
33446e7
Add C# HttpClient target
Atvaark Oct 4, 2019
48e733a
C# HttpClient target with decompression
Atvaark Oct 4, 2019
d266769
Merge pull request #149 from Atvaark/cs_httpclient_feature
reynolek Jun 2, 2020
13dd4fd
Merge pull request #166 from Kong/dependabot/npm_and_yarn/handlebars-…
reynolek Jun 2, 2020
7755339
Merge pull request #165 from readmeio/feat/plugin-architecture
reynolek Jun 2, 2020
82cb212
fix(package.json) Updating dependencies
reynolek Jun 8, 2020
633b825
Merge pull request #168 from Kong/fix/dep-updates
reynolek Jun 8, 2020
5350ca8
Fix uncompilable code of Java asynchttp
wtetsu Jun 20, 2020
0f558f0
Add java.net.http snippet generator and test
wtetsu Jun 20, 2020
3b1a49d
chore(deps): bump lodash from 4.17.15 to 4.17.19
dependabot[bot] Jul 16, 2020
d2203fb
Merge pull request #171 from Kong/dependabot/npm_and_yarn/lodash-4.17.19
reynolek Jul 22, 2020
c5bc4d8
Merge pull request #169 from wtetsu/fix/uncompilable_java_asynchttp_code
reynolek Jul 22, 2020
cb7b688
Merge pull request #170 from wtetsu/feature/add_javanethttp
reynolek Jul 22, 2020
692f540
chore(version bump) Release version 1.21.0
reynolek Jul 22, 2020
95596b9
Add Koltin for OkHttp Support
seanghay Jul 28, 2020
39d3681
Add `kotlin` to package.json keywords
seanghay Jul 28, 2020
f28927f
Merge remote-tracking branch 'upstream/master'
erunion Jul 28, 2020
d493781
fix: moving form-data usage over to using the native FormData object
erunion Aug 5, 2020
8001580
test: commenting out some tests while debugging
erunion Aug 5, 2020
ce5f277
fix: coding against native FormData and form-data
erunion Aug 5, 2020
346db58
chore: rolling back dep changes
erunion Aug 5, 2020
86c52ba
fix: setting the form-data boundary when under node
erunion Aug 5, 2020
b3268ef
docs: language fixes
erunion Aug 5, 2020
02356b6
test: fixing broken multipart tests
erunion Aug 6, 2020
731d664
test: cloning some data to another var to prevent test corruption
erunion Aug 6, 2020
89177c3
fix: out of date regex that was causing readstreams to be stringified
erunion Aug 6, 2020
ea50f99
fix: updating the curl target to prioritize param.fileName
erunion Aug 6, 2020
36a1a5b
fix: updating the node request target to prioritize param.fileName
erunion Aug 6, 2020
f98662c
fix: updating the node request target to prefer single quotes
erunion Aug 6, 2020
146b8c3
docs: adjusting some incorrect comments
erunion Aug 7, 2020
52ef611
style: removing some unused code
erunion Aug 7, 2020
cd034d0
feat: updating javascript targets to use `const` instead of `var`
erunion Aug 7, 2020
6a814ab
feat: updating php targets to use `[]` instead of `array()`
erunion Aug 7, 2020
e026327
Add Node Axios target
rohit-gohri Aug 11, 2020
f022d05
Add Javascript Axios target
rohit-gohri Aug 11, 2020
4946569
fix: add check for existing clients
rohit-gohri Aug 12, 2020
40cde9d
Add tests for axios clients
rohit-gohri Aug 12, 2020
ab80f72
Merge pull request #172 from seanghay/kotlin-okhttp
reynolek Aug 16, 2020
68cfbd0
Merge pull request #175 from erunion/feat/cleaner-php
reynolek Aug 16, 2020
e631159
Merge pull request #176 from rohit-gohri/axios
reynolek Aug 16, 2020
155e563
Merge pull request #174 from erunion/feat/js-consistency
reynolek Aug 17, 2020
c4f38e1
Merge branch 'master' into fix/multipart-handling
erunion Aug 17, 2020
6dbb2b7
fix: using `null` instead of `NULL`
erunion Aug 17, 2020
1f13fb7
chore(package.json) Bumping package version for release
reynolek Aug 17, 2020
d1fa29b
Remove ds store
develohpanda Aug 20, 2020
21eee29
Merge pull request #177 from Kong/remove-ds-store
reynolek Aug 20, 2020
e00ea3a
style: addressing some feedback from pr review
erunion Aug 20, 2020
7da7657
Merge pull request #173 from readmeio/fix/multipart-handling
develohpanda Aug 20, 2020
6afa231
fix: don't convert header names to lowercase (#178)
jgiovaresco Sep 17, 2020
2f7789c
chore(package.json) bump version in package.json
reynolek Sep 25, 2020
55249d7
chore(package.json) update lock file
reynolek Sep 25, 2020
e2fa910
Encode to JSON body for js-fetch target (#179)
jgiovaresco Sep 28, 2020
225d9dc
Adding node-fetch target (#180)
hirenoble Oct 1, 2020
73d5000
Print explicit error when using an invalid target (#182)
jgiovaresco Oct 5, 2020
0fc7f4a
fix: can't load the form-data polyfill in browsers because fs doesn't…
erunion Oct 6, 2020
dc08d83
chore(package.json) 1.24.0 version bump
reynolek Nov 18, 2020
86e7b0e
fix: regression in header case-insensitivity (#188)
erunion Nov 27, 2020
07d5ebf
fix: updating the node-fetch target to handle form-urlencoded request…
erunion Nov 28, 2020
e81f30a
feat: cleaner python requests json snippets (#189)
erunion Dec 1, 2020
21fd9d5
chore(package.json) Bump version 1.25.0 for release
reynolek Mar 3, 2021
bddb81a
update javascript fetch request to match node-fetch (#210)
jonasholbech Apr 5, 2021
3e4fcc6
chore(deps): bump y18n from 4.0.0 to 4.0.1 (#211)
dependabot[bot] Apr 5, 2021
bbf75ee
chore(deps): bump ini from 1.3.5 to 1.3.8 (#208)
dependabot[bot] Apr 5, 2021
d82a992
fix: node-fetch doesn't support the `qs` option (#213)
erunion Apr 20, 2021
03a44e6
rfc: drop support for < Node 10 (#204)
erunion Apr 27, 2021
200b1fd
fix: bug where FormData in the js fetch target wasn't applied (#202)
erunion Apr 27, 2021
71eec07
Add --globoff option to shell_curl (#199)
adamrdavid Apr 28, 2021
7e746c4
fix(curl) remove boundary form content-type header (#227)
nateslo Sep 3, 2021
9071fb5
chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#225)
dependabot[bot] Sep 3, 2021
b80accf
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 (#223)
dependabot[bot] Sep 3, 2021
1a0c61f
chore(deps): bump handlebars from 4.7.6 to 4.7.7 (#214)
dependabot[bot] Sep 3, 2021
02ce296
chore(deps): bump lodash from 4.17.19 to 4.17.21 (#215)
dependabot[bot] Sep 3, 2021
d9d3052
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#217)
dependabot[bot] Sep 3, 2021
9530d5b
pass extra options to httpsnippet (pass through to the target) (#222)
mahenzon Sep 3, 2021
6b85ba2
fix: not sending form urlencoded properly in JS fetch snippets (#218)
erunion Sep 3, 2021
7fd160c
chore(release bump) - Bump package.json to version 2.0.0
reynolek Sep 3, 2021
66baca6
Total Overhaul (but with all the same fixtures!) (#248)
dimitropoulos Apr 26, 2022
c7eae4c
fix: case where if `postData.params` is missing some targets crash (#…
erunion May 13, 2022
998e403
fix: compatibility issues on node 14 with `Object.hasOwn()` (#252)
erunion May 13, 2022
f64080d
fix: typo in the httpie `style` option not being correctly applied (#…
erunion May 13, 2022
cd4bb4c
fix: axios targets not sending `x-www-form-urlencoded` properly (#255)
erunion May 19, 2022
62d158d
feat: addition of a PHP target for Guzzle (#253)
erunion May 19, 2022
0e0728a
Add Github Build Workflow (#250) (#251)
filfreire May 20, 2022
411844f
feat: native upload support in python `requests` snippets (#259)
erunion May 23, 2022
3119335
fix: `multipart/form-data` header issues with node/js fetch targets (…
erunion May 23, 2022
5e8f161
fix: headers not being properly applied to R httr snippets (#263)
erunion May 23, 2022
8ca9771
Fix build workflow dispatch rules (#265)
filfreire May 24, 2022
97731b1
Chore: Remove travis links (#266)
filfreire May 26, 2022
91a872b
fix: issue where query strings in R wouldn't be properly concatenated…
erunion Jul 13, 2022
d4bebe4
add header namesspace to prevent header errors (#247)
Jul 13, 2022
da711e9
fix: stop implicitly coercing warning in Swift snippet generator (#195)
irajtaghlidi Jul 14, 2022
3c9e6a6
fix: clj-http handling of literal null JSON bodies (#283)
dimitropoulos Jul 15, 2022
7da8c97
fix: prevent crash in Swift/Objc with checking length of input body p…
irajtaghlidi Jul 15, 2022
12aa17e
fix: cUrl target should encode x-www-form-urlencoded post data params…
jgiovaresco Jul 15, 2022
2c8b558
feat: Add support for insecureSkipVerify (#285)
dimitropoulos Jul 18, 2022
735e69a
feat: implementing cleaner handling of JSON in cURL snippets (#256)
erunion Jul 18, 2022
8ea7e13
chore: minor cleanup (#286)
erunion Jul 18, 2022
19f1b2f
feat: use curl's --compressed option for requests that accept it (#287)
dimitropoulos Jul 18, 2022
2f7525d
feat: make Python snippets simpler, clearer & more consistent (#288)
dimitropoulos Jul 18, 2022
4ac5253
feat: change the default response code for Python Requests (#181)
jgiovaresco Jul 19, 2022
a92b4fc
feat: PHP JSON body encoding (#291)
dimitropoulos Jul 19, 2022
5ec84e0
Async/Await (top level) support in JavaScript snippets (#292)
dimitropoulos Jul 19, 2022
1dda869
Exclude package.json from build to fix output paths (#294)
pimterry Jul 26, 2022
911ab77
Fix crash when building nsurlsession snippets for empty params (#295)
pimterry Jul 26, 2022
cd2a0cc
removes `require 'openssl'` from ruby target (no longer needed) (#296)
dimitropoulos Jul 27, 2022
bf019b3
Escape quotes in headers correctly in all languages (#289)
pimterry Jul 28, 2022
7c00d05
updates README (#299)
dimitropoulos Aug 30, 2022
cee79a5
ioutil -> io (deprecated) (#305)
cchexcode Nov 2, 2022
6b8909e
audit fix
jackkav Jul 5, 2023
2026197
add missing type on README
filfreire Jul 7, 2023
a0c0933
types?
filfreire Jul 7, 2023
fc067af
Switching to Apache License Version 2.0
subnetmarco Sep 29, 2023
7c3d401
Support Node v20 (#333)
itsikcircle Dec 18, 2023
7efd8e0
Add SAST scanning using semgrep (#336)
saisatishkarra Jan 23, 2024
2e8c285
chore(feat/slsa)[SEC-1085]: add publish pipeline [INS-3792] (#347)
filfreire May 16, 2024
2aaed34
fix(CI): add pat for triggering releases [no-ticket] (#349)
filfreire May 16, 2024
36d0de1
fix(CI): Persist PAT to trigger downstream workflow on tag push (#350)
saisatishkarra May 16, 2024
cfb34a7
fix(ci): permissions to publish npm provenance (#351)
saisatishkarra May 16, 2024
c4a6906
feat: add npm version to release pipeline [INS-3853] (#352)
filfreire May 17, 2024
91be017
fix: rm extra commit on release.yml [INS-3853] (#353)
filfreire May 17, 2024
aa711ef
fix: release push [INS-3853] (#354)
filfreire May 17, 2024
b81e707
3.0.2
filfreire May 17, 2024
a3ddd6c
fix: tag weirdness (#355)
filfreire May 17, 2024
140d4b7
fix: release tags
filfreire May 17, 2024
7717966
fix: push also to origin
filfreire May 17, 2024
63650f3
3.0.4
filfreire May 17, 2024
143bb6d
Create SECURITY.md [SEC-1138]
filfreire Jul 2, 2024
e901d61
Add rust target with reqwest (#328)
Benjscho Jul 12, 2024
bb81dca
chore(deps-dev): bump ws from 7.5.7 to 7.5.10 (#358)
dependabot[bot] Jul 12, 2024
b6b2021
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#357)
dependabot[bot] Jul 12, 2024
893da8b
chore(deps-dev): bump @babel/traverse from 7.22.6 to 7.24.5 (#348)
dependabot[bot] Jul 12, 2024
b9e1d7b
Generate Crystal language code (#343)
yanecc Jul 12, 2024
e99422a
Fix setting default value of request.PostData of HarEntry (#323)
nsrCodes Jul 12, 2024
29947cc
Support any method for PowerShell (#320)
verhovsky Jul 12, 2024
147eb98
chore: add nvmrc and set it to 20 (#262)
bbbco Jul 12, 2024
8739d73
Add generator for Ruby's Faraday client (#362)
filfreire Jul 12, 2024
fbd23b5
3.0.5
filfreire Jul 12, 2024
6a758d6
Prep for Release: source maps, types, prettier (#301)
dimitropoulos Jul 12, 2024
723581e
3.0.6
filfreire Jul 12, 2024
08aec7b
feat: replace ajv usage [INS-145] (#371)
vaibhavrajsingh2001 Sep 30, 2024
889ef62
3.0.7
filfreire Oct 1, 2024
d107479
correct the casing of Method enums in RestSharp snippets (#366)
michaelgwelch Oct 1, 2024
8a1bc90
3.0.8
filfreire Oct 1, 2024
66b587b
fix(form-data): fix ssr error due to window object access (#373)
vaibhavrajsingh2001 Oct 16, 2024
5b4474d
3.0.9
filfreire Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,15 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[targets/**/fixtures/*]
insert_final_newline = false

[**/http1.1/fixtures/*]
end_of_line = crlf
insert_final_newline = false

[**/http1.1/fixtures/jsonObj-multiline]
end_of_line = unset

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src/targets/**/fixtures
dist
bin
30 changes: 30 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/** @type { import('eslint').Linter.Config } */
module.exports = {
parser: '@typescript-eslint/parser',
env: {
node: true,
},
parserOptions: {
project: 'tsconfig.json',
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:jest/all',
'plugin:jest-formatting/strict',
'plugin:eslint-comments/recommended',
'prettier',
],
plugins: ['eslint-comments', 'simple-import-sort', 'jest', 'jest-formatting'],
rules: {
'prefer-template': 'error',
'no-else-return': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'eslint-comments/require-description': 'error',
'eslint-comments/disable-enable-pair': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'jest/prefer-expect-assertions': 'off',
'jest/require-hook': 'off',
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
targets/http/http1.1/fixtures text
94 changes: 94 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Build and Publish Httpsnippet

on:
push:
branches:
- master
tags:
- '*' # Restrict any specific tag formats
pull_request:
types:
- opened
- synchronize
workflow_dispatch:

jobs:
scan:
permissions:
packages: write
contents: write # publish sbom to GH releases/tag assets
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
path: ${{ github.repository }}

# Perform SCA analysis for the code repository
# Produces SBOM and CVE report
# Helps understand vulnerabilities / license compliance across third party dependencies
- id: sca-project
uses: Kong/public-shared-actions/security-actions/sca@2f02738ecb1670f01391162e43fe3f5d4e7942a1 # v2.2.2
with:
dir: ${{ github.repository }}
upload-sbom-release-assets: true

build:
needs: [scan]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20]
steps:
- name: Checkout branch
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: npm ci

- name: Test
run: npm run test

- name: Lint
run: npm run lint

- name: Build
run: npm run build

publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write # For using token to sign images
actions: read # For getting workflow run info to build provenance
packages: write # Required for publishing provenance. Issue: https://github.com/slsa-framework/slsa-github-generator/tree/main/internal/builders/container#known-issues
if: ${{ github.ref_type == 'tag' && github.repository_owner == 'Kong' }}
steps:
# checkout tag
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.9.0
registry-url: 'https://registry.npmjs.org'

- name: Install
run: npm ci

- name: Build
run: npm run build

- name: Publish to NPM
run: npm publish --no-git-checks --provenance --tag ${{ github.sha }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58 changes: 58 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Release httpsnippet

on:
workflow_dispatch:
inputs:
version:
description: 'Tag version to release'
required: true

env:
# Release Tag to build and publish
TAG: ${{ github.event.inputs.version }}

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT_INSOMNIA_INFRA }}

- name: Configure Git user
uses: Homebrew/actions/git-user-config@master
with:
username: ${{ (github.event_name == 'workflow_dispatch' && github.actor) || 'insomnia-infra' }}

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install
run: npm ci

- name: Create new package version
run: npm version "${{ env.TAG }}"

- name: DEBUG see tags
run: |
git tag --list
git remote -v

- name: Merge version commit into master
run: |
git push origin v${{ env.TAG }}
git push origin master

- name: Create Tag and Release
uses: ncipollo/release-action@v1
id: core_tag_and_release
with:
tag: v${{ env.TAG }}
name: 'httpsnippet v${{ env.TAG }} 📦'
generateReleaseNotes: true
prerelease: false
draft: false
25 changes: 25 additions & 0 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: SAST

on:
pull_request: {}
push:
branches:
- master
workflow_dispatch: {}

jobs:
semgrep:
name: Semgrep SAST
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read

if: (github.actor != 'dependabot[bot]')

steps:
- uses: actions/checkout@v4
- uses: Kong/public-shared-actions/security-actions/semgrep@bd3d75259607dd015bea3b3313123f53b80e9d7f
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.log
node_modules
coverage*
dist
4 changes: 0 additions & 4 deletions .jshintrc

This file was deleted.

28 changes: 28 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for docs

# Default state for all rules
default: true

# Path to configuration file to extend
extends: null

# MD004 - Unordered list style
# We want to use dashes consistently everywhere
MD004:
style: dash

# MD013 - Line length
# We do not want to artificially limit line lengh in a language like markdown because of the nature of the language's handling of whitespace. Line wrapping is just a fact of life in markdown and trying to impose the conventions of other languages on markdown is an impedance mismatch that leads to people thinking that whitespace in markdown is more representative of the rendered HTML than it really is.
MD013: false

# MD033 - Inline HTML
MD033:
allowed_elements:
- details # there is no markdown equivalent for accordions
- summary # there is no markdown equivalent for accordions
- pre # necessary for code fences in markdown tables

# MD029 - Ordered list item prefix
# Plain and simple, markdown parsers do not respect the numbering you use for ordered lists. It only leads to confusion and misconception to allow otherwise.
MD029:
style: one
10 changes: 7 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.jshintrc
.editorconfig
test
# Ignore everything by default
# NOTE: NPM publish will never ignore package.json, package-lock.json, README, LICENSE, CHANGELOG
# https://npm.github.io/publishing-pkgs-docs/publishing/the-npmignore-file.html
*

# Don't ignore dist folder
!dist/**
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build
node_modules
src/targets/**/fixtures
dist
bin
16 changes: 16 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/** @type { import('prettier').Config } */
module.exports = {
arrowParens: 'avoid',
bracketSameLine: false,
bracketSpacing: true,
jsxSingleQuote: false,
printWidth: 100,
proseWrap: 'never',
quoteProps: 'as-needed',
semi: true,
singleAttributePerLine: true,
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
useTabs: false,
};
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["EditorConfig.EditorConfig"]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"files.insertFinalNewline": false, // controlled by the .editorconfig at root since we can't map vscode settings directly to files (see: https://github.com/microsoft/vscode/issues/35350)
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
Loading