mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-09-13 15:45:13 +00:00
Revise require imports (#3071)
- order (external first) - remove superfluous file extensions - new line after imports - deconstruct (only one time (in `check_config.js`)) - fix path (only one time (in `global-setup.js`))
This commit is contained in:
committed by
GitHub
parent
d5395ee3f8
commit
5f38c53260
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:jsdoc/recommended"],
|
||||
"plugins": ["prettier", "jsdoc", "jest"],
|
||||
"plugins": ["prettier", "import", "jsdoc", "jest"],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2022": true,
|
||||
@@ -23,6 +23,7 @@
|
||||
},
|
||||
"rules": {
|
||||
"eqeqeq": "error",
|
||||
"import/order": "error",
|
||||
"no-prototype-builtins": "off",
|
||||
"no-throw-literal": "error",
|
||||
"no-unused-vars": "off",
|
||||
|
Reference in New Issue
Block a user