OSDN Git Service

[add]React用のTSLint設定
authorHabu <habu@users.sourceforge.jp>
Mon, 30 Apr 2018 02:43:44 +0000 (11:43 +0900)
committerHabu <habu@users.sourceforge.jp>
Mon, 30 Apr 2018 02:43:44 +0000 (11:43 +0900)
package.json
tslint.json

index 0939220..5d12dab 100644 (file)
@@ -23,6 +23,7 @@
     "prop-types": "^15.6.1",
     "source-map-loader": "^0.2.3",
     "tslint": "^5.9.1",
+    "tslint-react": "^3.5.1",
     "typescript": "^2.8.1",
     "webpack": "^4.6.0",
     "webpack-cli": "^2.0.14"
index 32fa6e5..63e1462 100644 (file)
@@ -1,9 +1,9 @@
 {
     "defaultSeverity": "error",
     "extends": [
-        "tslint:recommended"
+        "tslint:latest", "tslint-react"
     ],
     "jsRules": {},
     "rules": {},
     "rulesDirectory": []
-}
\ No newline at end of file
+}