mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-10-31 19:36:39 -07:00
d779eacf61
You can now drag one or more files onto the add mods button in order to add them to the mods directory. Only jar, litemod, and zip files will be moved. Changed eslint to use a single configuration file, with overrides for the UI scripts. Now using fs-extra, replace usages of rimraf and mkdirp with fs-extra functions.
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"windows"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"no-var": [
|
|
"error"
|
|
],
|
|
"no-console": [
|
|
0
|
|
],
|
|
"no-control-regex": [
|
|
0
|
|
],
|
|
"no-unused-vars": [
|
|
"error",
|
|
{
|
|
"vars": "all",
|
|
"args": "none",
|
|
"ignoreRestSiblings": false,
|
|
"argsIgnorePattern": "reject"
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [ "app/assets/js/scripts/*.js" ],
|
|
"rules": {
|
|
"no-unused-vars": [
|
|
0
|
|
],
|
|
"no-undef": [
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |