@immowelt/styleguide-javascript

1.0.11 • Public • Published

@immowelt/styleguide-javascript

Powered by Immowelt Build Status Dependency Status devDependency Status Renovate enabled semantic-release

Styleguide related configuration files(.editorconfig, .prettierrc) for javascript related projects.

Usage

If you want to use the @immowelt/styleguide-javascript, you can install it by executing:

npm i -D @immowelt/styleguide-javascript

This will automatically setup symlinks to the .editorconfig and .prettierrc in your project root and add them to your .gitignore if possible.

Styleguide

We use prettier as a code style since it is easy to automatically keep a consistent style in projects.

Basic rules are:

  • 2 space indentation
  • Max line length of 80 characters
  • Trim trailing whitespace
  • UTF-8 Charset and lf EOL
  • Use Semicolons
  • Use single quotes for strings
  • No spaces between brackets

You might also be interested in our ESLint config presets:

IDE configurations

You will find example configuration guides in the docs folder.

Contributing

See the CONTRIBUTING.md file at the root of the repository.

Licensing

See the LICENSE file at the root of the repository.

Readme

Keywords

none

Package Sidebar

Install

npm i @immowelt/styleguide-javascript

Weekly Downloads

6

Version

1.0.11

License

MIT

Last publish

Collaborators

  • inkdpixels
  • immowelt-ci