Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gruntify-eslint

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gruntify-eslint - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

package.json
{
"name": "gruntify-eslint",
"version": "1.2.0",
"version": "1.3.0",
"description": "Validate files with ESLint",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -34,3 +34,3 @@ [![NPM version](https://badge.fury.io/js/gruntify-eslint.svg)](http://badge.fury.io/js/gruntify-eslint)

grunt.initConfig({
eslint: {
eslint: {
src: ["app.js"]

@@ -48,3 +48,3 @@ }

grunt.initConfig({
eslint: {
eslint: {
options: {

@@ -91,7 +91,7 @@ configFile: "conf/eslint.json",

grunt.initConfig({
eslint: {
eslint: {
options: {
silent: true
},
src: ["app.js"]
src: ["app.js"]
}

@@ -141,4 +141,10 @@ });

#### outputFile
Type: `path::String`
Specify a file path to write the test results to. This option is not passed to the eslint api.
** More information about options: [Eslint options]
[Eslint options]: http://eslint.org/docs/developer-guide/nodejs-api#cliengine

@@ -52,3 +52,8 @@ var path = require("path");

console.log(report);
if (options.outputFile) {
grunt.file.write(options.outputFile, report);
grunt.log.writeln('Report written to ' + options.outputFile);
} else {
console.log(report);
}

@@ -55,0 +60,0 @@ if(options.silent){

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