2.0.1 • Published 8 months ago

@ijlee2-frontend-configs/prettier v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@ijlee2-frontend-configs/prettier

The package provides a configuration for prettier.

  1. Usage
  2. License

Usage

Install these packages as development dependencies:

  • @ijlee2-frontend-configs/prettier
  • prettier

Afterwards, create the file prettier.config.mjs.

// For an Ember project
export { default } from '@ijlee2-frontend-configs/prettier/ember';

// For a Node project
export { default } from '@ijlee2-frontend-configs/prettier/node';

Customization

Import the configuration, then export the modified object. See prettier documentation for more information.

import baseConfiguration from '@ijlee2-frontend-configs/prettier/ember';

export default {
  ...baseConfiguration,
  overrides: [
    ...baseConfiguration.overrides,
    {
      files: ['*.scss'],
      options: {
        singleQuote: false,
      },
    },
  ],
};

License

This project is licensed under the MIT License.

2.0.1

8 months ago

2.0.0

8 months ago

1.0.0

9 months ago

0.2.4

10 months ago

0.2.3

11 months ago

0.2.2

11 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.1.0

12 months ago