don't lint Gruntfile
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 46s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m39s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m6s

This commit is contained in:
André Menrath 2024-10-29 15:04:14 +01:00
parent b4036b1457
commit eafbb940cb
2 changed files with 58 additions and 53 deletions

View file

@ -1,6 +1,7 @@
module.exports = function(grunt) {
module.exports = function (grunt) {
// Project configuration.
grunt.initConfig({
grunt.initConfig(
{
checktextdomain: {
options:{
text_domain: 'activitypub-event-bridge',
@ -42,16 +43,17 @@ module.exports = function(grunt) {
},
},
options: {
pre_convert: function( readme ) {
pre_convert: function ( readme ) {
return readme.replace( /\*\*Note\*\*:/g, "> [!NOTE]\n>" );
}
}
}
});
}
);
grunt.loadNpmTasks('grunt-wp-readme-to-markdown');
grunt.loadNpmTasks('grunt-checktextdomain');
grunt.loadNpmTasks( 'grunt-wp-readme-to-markdown' );
grunt.loadNpmTasks( 'grunt-checktextdomain' );
// Default task(s).
grunt.registerTask('default', ['wp_readme_to_markdown', 'checktextdomain']);
grunt.registerTask( 'default', ['wp_readme_to_markdown', 'checktextdomain'] );
};

View file

@ -29,6 +29,9 @@
<!-- Exclude minified Javascript files. -->
<exclude-pattern>*.min.js</exclude-pattern>
<!-- Exclude the Grundfile.js. -->
<exclude-pattern>Gruntfile.js</exclude-pattern>
<!-- Strip the filepaths down to the relevant bit. -->
<arg name="basepath" value="."/>