Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.3 KB

README.md

File metadata and controls

82 lines (60 loc) · 1.3 KB

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://[email protected]/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://[email protected]/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://[email protected]/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://[email protected]/dimebox/eslint-config-dimebox.git",
  "tslint": "5.0.0"
}

In the ./tslint.json

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