mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Handling questions with select element
This commit is contained in:
parent
3f641f07cc
commit
a437f8f98d
2 changed files with 326 additions and 411 deletions
38
.eslintrc.js
38
.eslintrc.js
|
@ -1,20 +1,22 @@
|
|||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es6: true,
|
||||
node: true,
|
||||
jest: true,
|
||||
},
|
||||
extends: ["eslint:recommended"],
|
||||
globals: {
|
||||
Atomics: "readonly",
|
||||
SharedArrayBuffer: "readonly",
|
||||
},
|
||||
rules: {
|
||||
"no-extra-semi": "off",
|
||||
"no-undef": ["warn"],
|
||||
eqeqeq: ["warn", "smart"],
|
||||
"no-unused-vars": "off",
|
||||
"no-prototype-builtins": "off",
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es6: true,
|
||||
node: true,
|
||||
jest: true,
|
||||
},
|
||||
extends: ['eslint:recommended'],
|
||||
globals: {
|
||||
Atomics: 'readonly',
|
||||
SharedArrayBuffer: 'readonly',
|
||||
},
|
||||
rules: {
|
||||
'no-extra-semi': 'off',
|
||||
'no-undef': ['error'],
|
||||
eqeqeq: ['warn', 'smart'],
|
||||
'no-unused-vars': 'warn',
|
||||
'no-prototype-builtins': 'off',
|
||||
'object-shorthand': ['warn', 'never'],
|
||||
'prefer-const': 'warn',
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue