@backtrack/preset-style

0.10.0 • Public • Published

@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,
			},
		],
	],
};

/@backtrack/preset-style/

    Package Sidebar

    Install

    npm i @backtrack/preset-style

    Weekly Downloads

    9

    Version

    0.10.0

    License

    MIT

    Unpacked Size

    20.8 kB

    Total Files

    11

    Last publish

    Collaborators

    • chrisblossom