mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00: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
2 changed files with 3 additions and 1 deletions
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/assets/javascript/*.js"
|
||||||
node_modules/xo/cli.js "phpBB/style/all/js/*.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 "phpBB/style/prosilver/template/*.js"
|
||||||
|
node_modules/xo/cli.js "gulpfile.js"
|
||||||
|
|
|
@ -48,7 +48,8 @@
|
||||||
"computed-property-spacing": "off",
|
"computed-property-spacing": "off",
|
||||||
"space-in-parens": "off",
|
"space-in-parens": "off",
|
||||||
"capitalized-comments": "off",
|
"capitalized-comments": "off",
|
||||||
"no-lonely-if": "off"
|
"no-lonely-if": "off",
|
||||||
|
"unicorn/prefer-module": "off"
|
||||||
},
|
},
|
||||||
"env": [
|
"env": [
|
||||||
"es6",
|
"es6",
|
||||||
|
|
Loading…
Add table
Reference in a new issue