mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
fe668e4811
* using modular sdk
* removing last script
* replacing more code
* unused code
* removed unused code
* removed unused code
* importing auth
* using analytics controller
* importing auth and analytics
* importing auth
* updated git ignore
* fixed path
* removed live config from gitignore
* added error message when failing to initialize firebase
* added live config
using live config when building production
* removed unused code
* fixed incorrect function use
* added example config
* added a step to the contributing guide
* optional steps
* fixed path
* using example in source code so that github actions dont cry like little babies
* using function correctly
* using function correctly
* ignoring live
* removed
* added action webpack config
* bruce said "no-no"
This reverts commit 0a1e5e1660
.
* Fix
* Add ignore
* updated instructions
* using correct functions
* using correct function
* missing parameter
* using correct function
* using correct function
* removed ts ignores
* using new functions
* removed refresh
* using new functions
* merge fix
* fixed merge
* regenereated lockfile
* using correct function
* defaulting to the email thats already entered
* moved lines
Co-authored-by: Bruception <bberr022@fiu.edu>
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"$": "readonly",
|
|
"jQuery": "readonly",
|
|
"html2canvas": "readonly",
|
|
"ClipboardItem": "readonly",
|
|
"grecaptcha": "readonly"
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:json/recommended",
|
|
"plugin:require-path-exists/recommended"
|
|
],
|
|
"plugins": ["json", "require-path-exists"],
|
|
"parserOptions": {
|
|
"ecmaVersion": 13,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"json/*": ["error"],
|
|
"indent": ["off"], //handled by prettier
|
|
"linebreak-style": ["error", "unix"],
|
|
"quotes": [
|
|
"error",
|
|
"double",
|
|
{ "allowTemplateLiterals": true, "avoidEscape": true }
|
|
],
|
|
"semi": ["error", "always"],
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^(_|e|event)" }],
|
|
"no-empty": ["error", { "allowEmptyCatch": true }],
|
|
"require-path-exists/notEmpty": 2,
|
|
"require-path-exists/tooManyArguments": 2,
|
|
"require-path-exists/exists": [
|
|
2,
|
|
{
|
|
"extensions": ["", ".ts", ".js", ".es.js", ".json5", ".es", ".es6"]
|
|
}
|
|
]
|
|
}
|
|
}
|