ESLint configuration for Mallzee javascript projects
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc.js
.gitignore
.npmrc
.travis.yml
README.md
index.js
package-lock.json
package.json

README.md

Mallzee Javascript Coding Style

This coding style is based on the airbnb style preset which ships with jscs but with a few tweaks.

This packages provides a "mallzee" preset for use in your projects.

Installation

  1. Install the npm packages required to style check your code
  npm install --save-dev eslint-config-mallzee
  1. Run this command to import the correct peer dependancies
  npx install-peerdeps --dev eslint-config-mallzee
  1. Create a .eslintrc in the root of your project

  2. Extend the mallzee config

{
  "extends": "mallzee"
}