File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2727 }
2828 },
2929 "scripts" : {
30- "lint:wpcs" : " vendor/squizlabs/php_codesniffer/bin/phpcs --standard=sparkpress -standard.xml --extensions=php ./src/php"
30+ "lint:wpcs" : " vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcs-rules -standard.xml --extensions=php ./src/php"
3131 }
3232}
Original file line number Diff line number Diff line change 3232 "lint:plugins:js" : " cd src/plugins/example-blocks && npm run lint:js" ,
3333 "lint:plugins:css" : " cd src/plugins/example-blocks && npm run lint:css" ,
3434 "lint:js" : " eslint src/js" ,
35- "lint:php" : " ./scripts/run.sh vendor/bin/phpcs --standard=wp-configs/sparkpress -standard.xml --extensions=php src/php -s -n" ,
35+ "lint:php" : " ./scripts/run.sh vendor/bin/phpcs --standard=wp-configs/phpcs-rules -standard.xml --extensions=php src/php -s -n" ,
3636 "lint:scss" : " stylelint src/scss/**/*.scss src/scss/*.scss --color --formatter verbose" ,
3737 "lint:twig" : " ./scripts/run.sh vendor/bin/twigcs src/php/views" ,
3838 "lint" : " run-s lint:* lint:plugins:*" ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
2- <ruleset name =" SparkPress " >
2+ <ruleset name =" Standard " >
33 <rule ref =" WordPress" >
44 <exclude name =" Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed" />
55 <exclude name =" Squiz.Commenting.FileComment.MissingPackageTag" />
99 <exclude name =" Squiz.Commenting.InlineComment.InvalidEndChar" />
1010 <!-- exclude other stuff as you wish -->
1111 </rule >
12- </ruleset >
12+ </ruleset >
You can’t perform that action at this time.
0 commit comments