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. // Project configuration.
grunt.initConfig({ grunt.initConfig(
{
checktextdomain: { checktextdomain: {
options:{ options:{
text_domain: 'activitypub-event-bridge', text_domain: 'activitypub-event-bridge',
@ -47,7 +48,8 @@ module.exports = function(grunt) {
} }
} }
} }
}); }
);
grunt.loadNpmTasks( 'grunt-wp-readme-to-markdown' ); grunt.loadNpmTasks( 'grunt-wp-readme-to-markdown' );
grunt.loadNpmTasks( 'grunt-checktextdomain' ); grunt.loadNpmTasks( 'grunt-checktextdomain' );

View file

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