Permalink
Browse files

feat(tslint): import frontend TSLint configuration

This commit imports a TypeScript React project's TSLint configuration as the main TSLint
configuration.
  • Loading branch information...
macklinu committed May 9, 2017
1 parent a915436 commit bd59da2f10f74f830f75696a279386748673dc01
Showing with 68 additions and 2 deletions.
  1. +1 −1 package.json
  2. +0 −1 tslint-base.json
  3. +67 −0 tslint-config.json
@@ -2,7 +2,7 @@
"name": "@detroit-labs/tslint-config",
"version": "0.0.0-development",
"description": "Shared TSLint configuration used in Detroit Labs' TypeScript projects",
"main": "tslint-base.json",
"main": "tslint-config.json",
"scripts": {
"commit": "git-cz",
"commitmsg": "validate-commit-msg",

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,67 @@
{
"rules": {
"class-name": true,
"curly": true,
"eofline": true,
"forin": false,
"indent": [
true,
"spaces"
],
"interface-name": [
true,
"always-prefix"
],
"label-position": true,
"max-line-length": [
true,
140
],
"no-arg": true,
"no-bitwise": true,
"no-consecutive-blank-lines": true,
"no-console": [
true,
"log",
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-eval": true,
"no-invalid-this": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-use-before-declare": false,
"no-var-keyword": true,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"radix": true,
"semicolon": true,
"switch-default": true,
"triple-equals": [
true,
"allow-null-check"
],
"variable-name": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator"
],
"ordered-imports": true
}
}

0 comments on commit bd59da2

Please sign in to comment.