Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 29, 2023
1 parent 3f2e97e commit 0e97234
Show file tree
Hide file tree
Showing 17 changed files with 1,362 additions and 1,213 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

43 changes: 43 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,43 @@
{
// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,

// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml"
]
}
1 change: 1 addition & 0 deletions bench/index.bench.ts
@@ -1,3 +1,4 @@
/* eslint-disable test/consistent-test-it */
import { readFile } from 'node:fs/promises'
import { bench, describe } from 'vitest'
import { createIsLiteralPositionAcorn, stripLiteralAcorn, stripLiteralRegex } from '../src'
Expand Down
7 changes: 7 additions & 0 deletions eslint.config.js
@@ -0,0 +1,7 @@
const antfu = require('@antfu/eslint-config').default

module.exports = antfu({
ignores: [
'**/fixtures/**',
],
})
32 changes: 16 additions & 16 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "strip-literal",
"version": "1.3.0",
"packageManager": "pnpm@8.6.11",
"packageManager": "pnpm@8.13.1",
"description": "Strip comments and string literals from JavaScript code",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -41,22 +41,22 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"acorn": "^8.10.0"
"acorn": "^8.11.2"
},
"devDependencies": {
"@antfu/eslint-config": "^0.40.0",
"@antfu/ni": "^0.21.5",
"@types/node": "^20.4.5",
"bumpp": "^9.1.1",
"eslint": "^8.46.0",
"esmo": "^0.17.0",
"pnpm": "^8.6.11",
"rimraf": "^5.0.1",
"three": "^0.155.0",
"typescript": "^5.1.6",
"unbuild": "^1.2.1",
"vite": "^4.4.8",
"vitest": "^0.34.1",
"vue": "^3.3.4"
"@antfu/eslint-config": "^2.6.1",
"@antfu/ni": "^0.21.12",
"@types/node": "^20.10.5",
"bumpp": "^9.2.1",
"eslint": "^8.56.0",
"esmo": "^4.0.0",
"pnpm": "^8.13.1",
"rimraf": "^5.0.5",
"three": "^0.160.0",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "^5.0.10",
"vitest": "^1.1.0",
"vue": "^3.4.0"
}
}

0 comments on commit 0e97234

Please sign in to comment.