0
私は、インストールのためにbashシェルからgruntのためにphplintをインストールするコマンドは何ですか?
npm install grunt-contrib-jshint --save-dev
のようなものを使用しての使用です。
しかし、これは動作しませんでした:
npm install grunt-contrib-phplint --save-dev
私はここに、これらのサイトが見つかりました:
https://www.npmjs.com/package/phplint
https://github.com/jgable/grunt-phplint
をしかし、それは私の残りの部分と一致するようにそれが見えませんコード。私はそれをインストールしてGruntfile.jsを変更する必要があります。
// you must load each module
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-cssmin');
// grunt.loadNpmTasks("grunt-phplint"); // from links