mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Changed fixer to prettier
This commit is contained in:
parent
6da775af3e
commit
17e42cb17f
3 changed files with 2402 additions and 1962 deletions
19
.eslintrc.js
Normal file
19
.eslintrc.js
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
module.exports = {
|
||||||
|
env: {
|
||||||
|
browser: true,
|
||||||
|
es6: true,
|
||||||
|
node: true,
|
||||||
|
jest: true,
|
||||||
|
},
|
||||||
|
extends: ["eslint:recommended"],
|
||||||
|
globals: {
|
||||||
|
Atomics: "readonly",
|
||||||
|
SharedArrayBuffer: "readonly",
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
"no-undef": ["warn"],
|
||||||
|
eqeqeq: ["warn", "smart"],
|
||||||
|
"no-unused-vars": "off",
|
||||||
|
"no-prototype-builtins": "off",
|
||||||
|
},
|
||||||
|
};
|
6
.prettierrc.js
Normal file
6
.prettierrc.js
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
module.exports = {
|
||||||
|
trailingComma: "es5",
|
||||||
|
tabWidth: 4,
|
||||||
|
semi: true,
|
||||||
|
singleQuote: false,
|
||||||
|
};
|
2667
stable.user.js
2667
stable.user.js
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue