@alza54/eslint-config-javascript

Shareable Javascript configuration for ESLint that I use for my projects

Usage no npm install needed!

<script type="module">
  import alza54EslintConfigJavascript from 'https://cdn.skypack.dev/@alza54/eslint-config-javascript';
</script>

README

@alza54/eslint-config-javascript

shellcode.team Build Status shellcode-styleguide

Shareable configuration for eslint.

JavaScript Style Guide - Standard Style*

The main idea of this configuration is to:

  1. Be opinionated
  2. Be strict about syntax and secure by default
  3. Enforce best-practices
  4. Be nice for developer and pleasant to work with.

The goal of this project is to be nicer version of wemake-frontend-styleguide.

Warning: this configuration has a very personal character.

Installation

npm install --save-dev @alza54/eslint-config-javascript 

or yarn

yarn add -D @alza54/eslint-config-javascript 

Then, modify your eslint configuration:

{
  "extends": [
    "@alza54/javascript"
  ]
}

Done! Later you can modify your configuration to include any extra rules you need.

Standard.js differences

This configuration has some differences with Standard.js code style. The most important difference is use of semicolons.

License

MIT.