/eslint-config-dimebox

JavaScript Style Guide

Primary LanguageJavaScriptMIT LicenseMIT

eslint-config-dimebox

The style guide for JavaScript / TypeScript projects.

Server / JavaScript

In the ./package.json

"devDependencies": {
  "eslint": "^3.19.0",
  "eslint-config-dimebox": "git+https://git@github.com/dimebox/eslint-config-dimebox.git",
  "eslint-plugin-import": "^2.6.1"
}

In the ./eslintrc.json

{
  "extends": "eslint-config-dimebox/server/javascript"
}

Server / TypeScript

In the ./package.json

"devDependencies": {
  "eslint-config-dimebox": "git+https://git@github.com/dimebox/eslint-config-dimebox.git",
  "tslint": "5.0.0"
}

In the ./tslint.json

{
  "extends": "eslint-config-dimebox/server/typescript"
}

Client / JavaScript

In the ./package.json

"devDependencies": {
  "eslint": "^3.19.0",
  "eslint-config-dimebox": "git+https://git@github.com/dimebox/eslint-config-dimebox.git",
  "eslint-plugin-import": "^2.6.1"
}

In the ./eslintrc.json

{
  "extends": "eslint-config-dimebox/client/javascript"
}

Client / TypeScript

In the ./package.json

"devDependencies": {
  "eslint-config-dimebox": "git+https://git@github.com/dimebox/eslint-config-dimebox.git",
  "tslint": "5.0.0"
}

In the ./tslint.json

{
  "extends": "eslint-config-dimebox/client/typescript"
}