1.0.13 • Published 2 years ago

@pawelmisiak/prettier-config v1.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Insider Intelligence shared PrettierConfig

Installation

To install this package run the following command in the terminal in the root directory of your application.

npm install --save-dev **FILL IN THIS PART**

OR

yarn add --dev **FILL IN THIS PART**

Usage

Add a key in your package.json file.

"prettier": "**FILL IN THIS PART**"

OR

Create a .prettierrc file and export a string.

"**FILL IN THIS PART**"

OR if you want to extend or overwrite the property consider this example

Create a .prettierrc.js file and export an object.

module.exports = {
  ...require("**FILL IN THIS PART**"),
  // endOfLine: 'lf', // to overwrite the property
};

##Overrides

If you wish to override properties in specific files or a directories use this example

overrides: [
      {
         files: 'a.js',
         options: {
             tabWidth: 4,
         },
      },
      {
        files: ["testing/*.js"],
        options: {
          printWidth: 20,
        }
      }
   ],
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

3 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago