1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-01 20:33:16 +02:00

[ticket/16414] setup xo for use in future

PHPBB3-16414
This commit is contained in:
hanakin
2020-03-24 11:51:05 -10:00
parent 19e437a7b1
commit d94e8f5721
7 changed files with 48 additions and 27 deletions

View File

@@ -7,6 +7,21 @@
"doc": "docs"
},
"xo": {
"ignores": [
"./phpbb/adm/style/admin.js",
"./phpbb/adm/style/ajax.js",
"./phpbb/adm/style/permissions.js",
"./phpbb/adm/style/tooltip.js",
"./phpbb/assets/cookieconsent/*.js",
"./phpbb/assets/javascript/core.js",
"./phpbb/assets/javascript/editor.js",
"./phpbb/assets/javascript/installer.js",
"./phpbb/assets/javascript/plupload.js",
"./phpbb/assets/javascript/jquery*.js",
"./phpbb/assets/plupload/*.js",
"./phpbb/styles/prosilver/template/ajax.js",
"./phpbb/styles/prosilver/template/forum_fn.js"
],
"rules": {
"quotes": [
"error",
@@ -25,14 +40,14 @@
"error",
"always"
],
"multiline-comment-style": "off",
"computed-property-spacing": "off",
"space-in-parens": "off",
"capitalized-comments": "off",
"object-curly-spacing": [
"error",
"always"
],
"multiline-comment-style": "off",
"computed-property-spacing": "off",
"space-in-parens": "off",
"capitalized-comments": "off",
"no-lonely-if": "off"
},
"env": [