Skip to content

Instantly share code, notes, and snippets.

View aolyang's full-sized avatar
🎯
Focusing

Owen Kriz aolyang

🎯
Focusing
View GitHub Profile
@aolyang
aolyang / .npmrc
Created August 8, 2024 09:45
npmrc
registry=https://registry.npmmirror.com
ELECTRON_CUSTOM_DIR="{{ version }}"
electron_mirror=https://npmmirror.com/mirrors/electron/
sass_binary_site=https://npmmirror.com/mirrors/node-sass/
phantomjs_cdnurl=http://cnpmjs.org/downloads
sqlite3_binary_host_mirror=https://foxgis.oss-cn-shanghai.aliyuncs.com/
profiler_binary_host_mirror=https://npmmirror.com/mirrors/node-inspector/
chromedriver_cdnurl=https://npmmirror.com/mirrors/chromedriver/
@aolyang
aolyang / eslint.config.mjs
Last active November 6, 2024 23:42
config vue3 eslint use "eslint9.x flat config" feature
import { builtinModules } from "module"
import { fixupConfigRules } from "@eslint/compat"
import jsLint from "@eslint/js"
import stylistic from "@stylistic/eslint-plugin"
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"
import pluginSimpleImportSort from "eslint-plugin-simple-import-sort"
import vueLint from "eslint-plugin-vue"
import globals from "globals"
import tsLint from "typescript-eslint"