New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-closure-linter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-closure-linter - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"name": "grunt-closure-linter",
"description": "Google closure linting",
"version": "0.1.3",
"version": "0.1.4",
"homepage": "https://github.com/wzr1337/grunt-closure-linter",

@@ -6,0 +6,0 @@ "author": {

@@ -25,2 +25,4 @@ # grunt-closure-linter

Use the command attribute to point to a specific command if yours has not the default name.
```js

@@ -31,2 +33,3 @@ grunt.initConfig({

closureLinterPath : '/path/to/closure_linter/folder',
command: 'gjslint',
src: [ 'app/scripts/controllers/**',

@@ -44,2 +47,3 @@ 'app/scripts/services/**',

closureLinterPath : '/path/to/closure_linter/folder',
command: 'fixjsstyle',
src: [ 'app/scripts/controllers/**',

@@ -46,0 +50,0 @@ 'app/scripts/services/**',

@@ -6,3 +6,3 @@ /**

* @license MIT
*
*
* @module tasks/grunt-closure-linter

@@ -20,5 +20,5 @@ */

var ctools = require('./lib/ctools');
var ctools = require('./lib/ctools');
grunt.registerMultiTask('closureLint', 'Apply closure linting',
function() {ctools.registerTool(this, 'gjslint.py');});
};

@@ -13,3 +13,3 @@ /**

files = [],
closureLinterPath = task.data.closureLinterPath,
closureLinterPath = task.data.closureLinterPath || '/usr/local/bin',
options = grunt.task.current.options(

@@ -22,2 +22,6 @@ {

});
// Toolname in options
toolname = task.data.command || toolname;
// Iterate over all src-dest file pairs.

@@ -24,0 +28,0 @@ task.files.forEach(function(f) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc