npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

@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.

Keywords

none

install

npm i @immowelt/styleguide-javascript

Downloadsweekly downloads

33

version

1.0.11

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability