Commit 6247f562 authored by Philip Chimento's avatar Philip Chimento 🚮

CI: Tweak eslint configuration

This adds some more customizations for some subdirectories, and tweaks a
couple of rules.
parent c70d72fb
installed-tests/js/jasmine.js
installed-tests/js/modules/overrides/WarnLib.js
modules/jsUnit.js
{
"env": {
"es6": true,
"jasmine": true
"es6": true
},
"extends": "eslint:recommended",
"rules": {
......@@ -16,6 +15,12 @@
"error",
"unix"
],
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"quotes": [
"error",
"single",
......@@ -29,13 +34,16 @@
]
},
"globals": {
"imports": false,
"ARGV": false,
"Debugger": false,
"GIRepositoryGType": false,
"imports": false,
"Intl": false,
"log": false,
"logError": false,
"print": false,
"printerr": false,
"window": false,
"log": false,
"logError": false
"window": false
},
"parserOptions": {
"ecmaVersion": 2017
......
{
"env": {
"jasmine": true
},
"globals": {
"clearInterval": false,
"clearTimeout": false,
"setInterval": false,
"setTimeout": false
}
}
\ No newline at end of file
{
"rules": {
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_init$"
}
]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment