1
0
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:
Marc Alexander 2021-05-16 11:32:30 +02:00
parent d73222e8a9
commit b24e05ffcb
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 3 additions and 1 deletions

1
.github/check-js.sh vendored
View File

@ -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"

View File

@ -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",