Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-tap

sindresorhus4.8kMIT2.0.1

TAP formatter for ESLint

eslint, eslint-formatter, formatter, reporter, lint, validate, tap, test, protocol

readme

eslint-tap Build Status

TAP formatter for ESLint

TAP, the Test Anything Protocol, is a simple text-based interface between testing modules in a test harness. TAP started life as part of the test harness for Perl but now has implementations in C/C++, Python, PHP, Perl and probably others by the time you read this.

Install

$ npm install --save-dev eslint-tap

Usage

ESLint CLI

$ eslint --format=node_modules/eslint-tap file.js

grunt-eslint

grunt.initConfig({
    eslint: {
        options: {
            format: 'node_modules/eslint-tap'
        },
        target: ['file.js']
    }
});

grunt.loadNpmTasks('grunt-eslint');
grunt.registerTask('default', ['eslint']);

License

MIT © Sindre Sorhus