Skip to content

Commit

Permalink
improvement: upgrade query-string to v8
Browse files Browse the repository at this point in the history
There already is a version 8.1 of the query-string library, but since
8.0 the library is a pure ESM package. To be able to use v8+, we have to
convert our libraries to become ESM packages as well.

Made changes following
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c to
make this library an ESM package.

Closes #70
  • Loading branch information
Gido Manders committed Feb 17, 2023
1 parent bda050e commit 4be1a3d
Show file tree
Hide file tree
Showing 17 changed files with 140 additions and 8,915 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.js

This file was deleted.

21 changes: 21 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": ["plugin:@typescript-eslint/recommended"],
"plugins": ["@typescript-eslint", "jest"],
"rules": {
"indent": "off",
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/no-use-before-define": ["off"],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-use-before-define": ["off"],
"@typescript-eslint/explicit-member-accessibility": ["off"],
"jest/prefer-expect-assertions": [
"error",
{ "onlyFunctionsWithAsyncKeyword": true }
]
}
}
Loading

0 comments on commit 4be1a3d

Please sign in to comment.