mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"root": true,
|
|
"extends": ["eslint:recommended", "plugin:vue/recommended", "prettier"],
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es2021": true
|
|
},
|
|
"parser": "vue-eslint-parser",
|
|
"parserOptions": {
|
|
"parser": "@babel/eslint-parser",
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"impliedStrict": true,
|
|
"jsx": true
|
|
},
|
|
"requireConfigFile": false,
|
|
"babelOptions": {
|
|
"parserOpts": {
|
|
"plugins": ["importAssertions"]
|
|
}
|
|
}
|
|
},
|
|
"globals": {
|
|
"CefSharp": "readonly",
|
|
"VRCX": "readonly",
|
|
"VRCXStorage": "readonly",
|
|
"SQLite": "readonly",
|
|
"LogWatcher": "readonly",
|
|
"Discord": "readonly",
|
|
"AppApi": "readonly",
|
|
"AppApiVr": "readonly",
|
|
"SharedVariable": "readonly",
|
|
"WebApi": "readonly",
|
|
"AssetBundleManager": "readonly",
|
|
"WINDOWS": "readonly",
|
|
"LINUX": "readonly"
|
|
},
|
|
"rules": {
|
|
"no-console": 0,
|
|
"no-control-regex": 0,
|
|
"no-empty": [
|
|
"error",
|
|
{
|
|
"allowEmptyCatch": true
|
|
}
|
|
],
|
|
"no-var": "warn",
|
|
"prefer-const": "warn",
|
|
"no-loop-func": 0,
|
|
"vars-on-top": 0,
|
|
"object-curly-spacing": ["error", "always"],
|
|
"require-atomic-updates": 0,
|
|
"no-unused-vars": 1,
|
|
"vue/require-default-prop": 0,
|
|
"vue/no-mutating-props": 1,
|
|
"vue/no-v-text-v-html-on-component": 1
|
|
}
|
|
}
|