Skip to content

Commit 503d0f7

Browse files
committed
Removed npm package grunt-phplint and associated grunt command.
1 parent c0d9efc commit 503d0f7

File tree

3 files changed

+2
-60
lines changed

3 files changed

+2
-60
lines changed

Gruntfile.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
var phpPaths = [
2-
'wpengine-phpcompat.php',
3-
'load-files.php',
4-
'src/*.php',
5-
];
6-
71
module.exports = function(grunt) {
8-
92
grunt.initConfig({
103
wp_readme_to_markdown: {
114
options: {
@@ -17,17 +10,12 @@ module.exports = function(grunt) {
1710
'readme.md': 'readme.txt'
1811
},
1912
},
20-
},
21-
phplint: {
22-
plugin: phpPaths
2313
}
2414
});
2515

2616
grunt.loadNpmTasks('grunt-wp-readme-to-markdown');
27-
grunt.loadNpmTasks('grunt-phplint');
28-
29-
grunt.registerTask('default', ['phplint']);
3017

18+
grunt.registerTask('default', []);
3119
grunt.registerTask('readme', ['wp_readme_to_markdown']);
3220
};
3321

package-lock.json

Lines changed: 0 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
"devDependencies": {
44
"grunt": "^0.4.5",
55
"grunt-cli": "^1.2.0",
6-
"grunt-phplint": "0.0.8",
76
"grunt-wp-readme-to-markdown": "^2.0.0",
87
"lodash": "4.17.13",
98
"minimatch": "3.0.2",
109
"node-qunit-phantomjs": "^1.4.0"
1110
},
1211
"scripts": {
13-
"test": "npm run test:lint && npm run test:qunit",
12+
"test": "npm run test:qunit",
1413
"test:qunit": "node-qunit-phantomjs tests/qunit/index.html --verbose",
15-
"test:lint": "grunt",
1614
"readme": "grunt readme"
1715
}
1816
}

0 commit comments

Comments
 (0)