Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed Nov 13, 2024
1 parent af7d3d9 commit ca412c8
Show file tree
Hide file tree
Showing 35 changed files with 551 additions and 630 deletions.
39 changes: 26 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"parser": "@typescript-eslint/parser", // Specifies the ESLint parser
"parserOptions": {
"ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
"sourceType": "module" // Allows for the use of imports
"env": {
"es6": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier"
],
"extends": [
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
"prettier", // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
"plugin:prettier/recommended" // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
"rules": {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/ban-ts-comment": ["error", { "ts-ignore": "allow-with-description" } ],
"prettier/prettier": ["error", { "endOfLine": "auto" }]
}
}
"no-constant-condition": ["error", { "checkLoops": false }],
"@typescript-eslint/no-explicit-any": ["warn"],
"prettier/prettier": ["error", {
"endOfLine": "auto"
}]
},
"overrides": [
{
"files": "**/*.json",
"rules": {
"@typescript-eslint/no-unused-expressions": "off"
}
}
]
}
4 changes: 3 additions & 1 deletion build.deno.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env node

/*global process*/

import path from "path";
import {
mkdirSync,
Expand All @@ -19,7 +21,7 @@ function copyReadme(src, dest) {
readFileSync("./README.md")
.toString()
.replace(
/import \{ (.*) \} from '@streamparser\/json';/gm,
/import \{ (.*) \} from '@streamparser\/json';/gm,
`import { $1 } from "${denoXURL}/index.ts";/`,
)
.replace(
Expand Down
Loading

0 comments on commit ca412c8

Please sign in to comment.