@kensho-technologies/prettier-config

2.0.0 • Public • Published

prettier-config

Build Status npm

Shared config for Prettier.

Install

$ npm i -D prettier @kensho-technologies/prettier-config

Usage

Configure Prettier to use the config, e.g., by adding a key to the project's package.json:

{
  "prettier": "@kensho-technologies/prettier-config"
}

Add scripts to package.json to format and validate files:

{
  "scripts": {
    "fix": "prettier -w .",
    "test": "prettier -c ."
  }
}

License

Licensed under the Apache 2.0 License. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2020-present Kensho Technologies, LLC. The present date is determined by the timestamp of the most recent commit in the repository.

Readme

Keywords

none

Package Sidebar

Install

npm i @kensho-technologies/prettier-config

Weekly Downloads

27

Version

2.0.0

License

Apache-2.0

Unpacked Size

13.8 kB

Total Files

4

Last publish

Collaborators

  • nabeel-
  • billyjanitsch
  • eorsi
  • kensho-admin