Socket
Socket
Sign inDemoInstall

eslint-formatter-pretty

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-formatter-pretty - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

10

index.js

@@ -60,3 +60,3 @@ 'use strict';

// stylize inline code blocks
// Stylize inline code blocks
message = message.replace(/\B`(.*?)`\B|\B'(.*?)'\B/g, (m, p1, p2) => chalk.bold(p1 || p2));

@@ -92,3 +92,3 @@

if (process.stdout.isTTY && !process.env.CI) {
// make relative paths Cmd+click'able in iTerm
// Make relative paths Cmd+click'able in iTerm
output += ansiEscapes.iTerm.setCwd();

@@ -99,7 +99,7 @@ }

if (x.type === 'header') {
// add the line number so it's Cmd+click'able in some terminals
// use dim & gray for terminals like iTerm that doesn't support `hidden`
// Add the line number so it's Cmd+click'able in some terminals
// Use dim & gray for terminals like iTerm that doesn't support `hidden`
const position = showLineNumbers ? chalk.hidden.dim.gray(`:${x.firstLineCol}`) : '';
return ' ' + chalk.underline(x.relativeFilePath + position);
return ' ' + chalk.underline(x.relativeFilePath) + position;
}

@@ -106,0 +106,0 @@

{
"name": "eslint-formatter-pretty",
"version": "1.1.0",
"description": "Pretty ESLint formatter",
"license": "MIT",
"repository": "sindresorhus/eslint-formatter-pretty",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js"
],
"keywords": [
"eslint",
"eslint-formatter",
"formatter",
"reporter",
"lint",
"validate"
],
"dependencies": {
"ansi-escapes": "^1.4.0",
"chalk": "^1.1.3",
"log-symbols": "^1.0.2",
"plur": "^2.1.2",
"string-width": "^2.0.0"
},
"devDependencies": {
"ava": "*",
"strip-ansi": "^3.0.1",
"xo": "*"
},
"xo": {
"esnext": true
}
"name": "eslint-formatter-pretty",
"version": "1.2.0",
"description": "Pretty ESLint formatter",
"license": "MIT",
"repository": "sindresorhus/eslint-formatter-pretty",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=4"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js"
],
"keywords": [
"eslint",
"eslint-formatter",
"formatter",
"reporter",
"lint",
"validate"
],
"dependencies": {
"ansi-escapes": "^1.4.0",
"chalk": "^1.1.3",
"log-symbols": "^1.0.2",
"plur": "^2.1.2",
"string-width": "^2.0.0"
},
"devDependencies": {
"ava": "*",
"strip-ansi": "^3.0.1",
"xo": "*"
}
}
# eslint-formatter-pretty [![Build Status](https://travis-ci.org/sindresorhus/eslint-formatter-pretty.svg?branch=master)](https://travis-ci.org/sindresorhus/eslint-formatter-pretty)
> Pretty formatter for [ESLint](http://eslint.org)
> Pretty formatter for [ESLint](https://eslint.org)

@@ -64,6 +64,7 @@ ![](screenshot.png)

module: {
loaders: [
preLoaders: [
{
test: /\.js$/,
loader: 'eslint-loader'
loader: 'eslint-loader',
exclude: /node_modules/
}

@@ -70,0 +71,0 @@ ]

Sorry, the diff of this file is not supported yet

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