eslint-tap

TAP formatter (reporter) for ESLint

npm install eslint-tap
8 downloads in the last week
18 downloads in the last month

eslint-tap Build Status

TAP formatter (reporter) 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.

screenshot

Install

Install with npm: npm install --save-dev eslint-tap

Getting started

Use it with:

ESLint CLI

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

grunt-eslint

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

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

License

MIT © Sindre Sorhus

npm loves you