Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 815 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 815 Bytes

eslint-zap

ESLint ZAP Formatter

Example

{"kind":"test","event":"passed","id":"0.0","source":"/Users/jamiebuilds/Projects/eslint-zap-reporter/fixture1.js","timestamp":"2018-07-27T20:43:59.841Z"}
{"kind":"assertion","event":"failed","id":"0.1.0","source":"/Users/jamiebuilds/Projects/eslint-zap-reporter/fixture2.js:1:1-1:16","message":"Strings must use doublequote.","timestamp":"2018-07-27T20:43:59.841Z"}
{"kind":"test","event":"failed","id":"0.1","source":"/Users/jamiebuilds/Projects/eslint-zap-reporter/fixture2.js","timestamp":"2018-07-27T20:43:59.841Z"}
{"kind":"suite","event":"failed","id":"0","timestamp":"2018-07-27T20:43:59.841Z"}

Install

yarn add --dev eslint-zap

Usage

eslint --format=node_modules/eslint-zap file.js