1.0.4 • Published 1 year ago

prettier-config-steamhouse v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

prettier-config-steamhouse

Shared Prettier configuration for Steamhouse project.

Installation

To install the shared Prettier configuration in your project, run the following command:

npm install --save-dev prettier-config-steamhouse

Usage

To use the shared Prettier configuration in your project, add the following to your package.json file:

{
    "name": "your-project-name",
    "version": "1.0.0",
    "private": true,
    "scripts": {
        "dev": "next dev",
        "build": "next build",
        "start": "next start",
        "lint": "next lint"
    },
    "dependencies": {
        // your dependencies
    },
    "devDependencies": {
        // your dev dependencies
        "prettier-config-steamhouse": "^1.0.0"
    },
    "prettier": "prettier-config-steamhouse"
}

Alternatively, if you prefer to use a .prettierrc.js file, you can create or update it in your project root as follows:

const prettierConfig = require("prettier-config-steamhouse");

module.exports = {
    ...prettierConfig,
    // You can override or extend configurations here
};

Configuration

The configuration provided by this package is as follows:

{
    "singleQuote": false,
    "tabWidth": 4,
    "semi": true,
    "printWidth": 80
}

Publishing Updates

If you need to update the shared configuration, follow these steps:

  1. Make your changes to the .prettierrc.json file in the prettier-config-steamhouse directory.

  2. Update the version number in package.json.

  3. Publish the updated package:

npm publish --access public

License

This project is licensed under the ISC License. Feel free to adjust the details as necessary for your specific needs.

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago