aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-08 11:55:56 +0300
committerValentin Popov <info@valentineus.link>2020-02-08 11:55:56 +0300
commit15e5ead2d15d1726772c82544462b0acbdb227fa (patch)
tree6c6326c66cb77bb6b0ded3f01b5b07efa17f8375
parentaebbead8badc33edb74201d00ad466e82b4dc283 (diff)
downloadeslint-config-15e5ead2d15d1726772c82544462b0acbdb227fa.tar.xz
eslint-config-15e5ead2d15d1726772c82544462b0acbdb227fa.zip
Initial TypeScript
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--package.json7
-rw-r--r--tsconfig.json28
-rw-r--r--yarn.lock9
3 files changed, 42 insertions, 2 deletions
diff --git a/package.json b/package.json
index 5514cee..06372c7 100644
--- a/package.json
+++ b/package.json
@@ -9,5 +9,8 @@
"private": false,
"scripts": {},
"dependencies": {},
- "devDependencies": {}
-} \ No newline at end of file
+ "devDependencies": {
+ "tslib": "^1.10.0",
+ "typescript": "^3.7.5"
+ }
+}
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..ee95095
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,28 @@
+{
+ "compilerOptions": {
+ "allowJs": true,
+ "checkJs": true,
+ "declaration": true,
+ "downlevelIteration": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "module": "ES2015",
+ "moduleResolution": "Node",
+ "newLine": "lf",
+ "noImplicitReturns": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "outDir": "dist",
+ "removeComments": true,
+ "sourceMap": true,
+ "strict": true,
+ "target": "ES5"
+ },
+ "exclude": [
+ "node_modules",
+ "dist"
+ ],
+ "include": [
+ "src"
+ ]
+}
diff --git a/yarn.lock b/yarn.lock
index fb57ccd..4a8e847 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2,3 +2,12 @@
# yarn lockfile v1
+tslib@^1.10.0:
+ version "1.10.0"
+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
+ integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
+
+typescript@^3.7.5:
+ version "3.7.5"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
+ integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==