Manuel Friedli
fad4a2382a
Some checks failed
continuous-integration/drone/push Build is failing
just the plain Uhr widget.
48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
"curly": "error",
|
|
"deprecation": true,
|
|
"eofline": true,
|
|
"file-header": [
|
|
true,
|
|
{
|
|
"match": " This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see <http://www.gnu.org/licenses/>.\n",
|
|
"enforce-trailing-newline": true
|
|
}
|
|
],
|
|
"sort-imports": "warn",
|
|
"member-ordering": [
|
|
true,
|
|
{
|
|
"order": "fields-first",
|
|
"alphabetize": true
|
|
}
|
|
],
|
|
"prefer-for-of": true,
|
|
"static-this": true,
|
|
"triple-equals": true,
|
|
"typeof-compare": true,
|
|
"prefer-const": "warn",
|
|
"prefer-readonly": true,
|
|
"array-type": [
|
|
true,
|
|
"array"
|
|
],
|
|
"arrow-return-shorthand": [
|
|
true,
|
|
"multiline"
|
|
],
|
|
"quotes": [
|
|
"warn",
|
|
"single"
|
|
]
|
|
}
|
|
}
|