mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 11:11:23 +02:00
[ticket/16775] Add gulpfile to xo linting
Disabled unicorn/prefer-module because it complained about default gulpfile syntax. PHPBB3-16775
This commit is contained in:
parent
d73222e8a9
commit
b24e05ffcb
1
.github/check-js.sh
vendored
1
.github/check-js.sh
vendored
@ -18,3 +18,4 @@ node_modules/xo/cli.js "phpBB/adm/style/*.js"
|
||||
node_modules/xo/cli.js "phpBB/assets/javascript/*.js"
|
||||
node_modules/xo/cli.js "phpBB/style/all/js/*.js"
|
||||
node_modules/xo/cli.js "phpBB/style/prosilver/template/*.js"
|
||||
node_modules/xo/cli.js "gulpfile.js"
|
||||
|
@ -48,7 +48,8 @@
|
||||
"computed-property-spacing": "off",
|
||||
"space-in-parens": "off",
|
||||
"capitalized-comments": "off",
|
||||
"no-lonely-if": "off"
|
||||
"no-lonely-if": "off",
|
||||
"unicorn/prefer-module": "off"
|
||||
},
|
||||
"env": [
|
||||
"es6",
|
||||
|
Loading…
x
Reference in New Issue
Block a user