@backtrack/preset-style

backtrack preset for linting / styling node applications

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Apr 28, 2020May 8, 2018Minified + gzip package size for @backtrack/preset-style in KB

Readme

@backtrack/preset-style

npm Linux Build Status Windows Build Status Code Coverage

About

backtrack preset that adds linting and formatting to your project.

Features

Installation

npm install --save-dev @backtrack/preset-style

Usage

// backtrack.config.js

'use strict';

module.exports = {
    presets: ['@backtrack/style'],

    presets: [
        [
            '@backtrack/style',
            {
                /**
                 * Disallow unsupported javascript syntax targeting
                 *   the node version in package.json engines
                 *
                 * default: false
                 */
                node: true,

                /**
                 * Disable settings unnecessary in applications
                 *
                 * default: false
                 */
                isApp: true,
            },
        ],
    ],
};

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.