diff --git a/.codeclimate.yml b/.codeclimate.yml index 129ab702..4695ef8b 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,7 +1,7 @@ engines: tslint: enabled: true - config: tslint.yml + config: tslint.json shellcheck: enabled: true duplication: diff --git a/tslint.json b/tslint.json new file mode 100644 index 00000000..658d88e2 --- /dev/null +++ b/tslint.json @@ -0,0 +1,12 @@ +{ + "extends": [ + "tslint-config-airbnb", + "tslint-config-prettier" + ], + "rules": { + "variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"], + "object-shorthand-properties-first": false, + "max-line-length": [true, { "limit": 100, "ignore-pattern": "`[^`]+`" }], + "import-name": false + } +} \ No newline at end of file diff --git a/tslint.yml b/tslint.yml deleted file mode 100644 index 34b4d917..00000000 --- a/tslint.yml +++ /dev/null @@ -1,8 +0,0 @@ -extends: - - tslint-config-airbnb - - tslint-config-prettier -rules: - variable-name: [true, 'ban-keywords', 'check-format', 'allow-pascal-case'] - object-shorthand-properties-first: false - max-line-length: [true, { 'limit': 100, 'ignore-pattern': '`[^`]+`' }] - import-name: false