Skip to content

Commit f4d2454

Browse files
committed
Initial config
1 parent b6d87b3 commit f4d2454

File tree

4 files changed

+51
-1
lines changed

4 files changed

+51
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/.eslintcache
22
/.husky/
3+
/dist/
34
/node_modules/

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@
3131
"vue-eslint-parser": "^7.0.0"
3232
},
3333
"devDependencies": {
34+
"@types/eslint-scope": "^3.7.0",
35+
"@types/eslint-visitor-keys": "^1.0.0",
3436
"eslint": "^7.3.1",
3537
"eslint-plugin-eslint-plugin": "^3.0.0",
3638
"husky": "^6.0.0",
3739
"jest": "^27.0.1",
3840
"prettier": "^2.1.1",
39-
"pretty-quick": "^3.0.0"
41+
"pretty-quick": "^3.0.0",
42+
"typescript": "^4.2.4"
4043
},
4144
"eslintConfig": {
4245
"env": {

tsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
4+
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
5+
"allowJs": true, /* Allow javascript files to be compiled. */
6+
"outDir": "./dist", /* Redirect output structure to the directory. */
7+
"strict": true, /* Enable all strict type-checking options. */
8+
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
9+
}
10+
}

yarn.lock

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,32 @@
568568
dependencies:
569569
"@babel/types" "^7.3.0"
570570

571+
"@types/eslint-scope@^3.7.0":
572+
version "3.7.0"
573+
resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.0.tgz#4792816e31119ebd506902a482caec4951fabd86"
574+
integrity sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw==
575+
dependencies:
576+
"@types/eslint" "*"
577+
"@types/estree" "*"
578+
579+
"@types/eslint-visitor-keys@^1.0.0":
580+
version "1.0.0"
581+
resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
582+
integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==
583+
584+
"@types/eslint@*":
585+
version "7.2.10"
586+
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.2.10.tgz#4b7a9368d46c0f8cd5408c23288a59aa2394d917"
587+
integrity sha512-kUEPnMKrqbtpCq/KTaGFFKAcz6Ethm2EjCoKIDaCmfRBWLbFuTcOJfTlorwbnboXBzahqWLgUp1BQeKHiJzPUQ==
588+
dependencies:
589+
"@types/estree" "*"
590+
"@types/json-schema" "*"
591+
592+
"@types/estree@*":
593+
version "0.0.47"
594+
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.47.tgz#d7a51db20f0650efec24cd04994f523d93172ed4"
595+
integrity sha512-c5ciR06jK8u9BstrmJyO97m+klJrrhCf9u3rLu3DEAJBirxRqSCvDQoYKmxuYwQI5SZChAWu+tq9oVlGRuzPAg==
596+
571597
"@types/graceful-fs@^4.1.2":
572598
version "4.1.5"
573599
resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
@@ -594,6 +620,11 @@
594620
dependencies:
595621
"@types/istanbul-lib-report" "*"
596622

623+
"@types/json-schema@*":
624+
version "7.0.7"
625+
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad"
626+
integrity sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==
627+
597628
"@types/minimatch@^3.0.3":
598629
version "3.0.4"
599630
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.4.tgz#f0ec25dbf2f0e4b18647313ac031134ca5b24b21"
@@ -2892,6 +2923,11 @@ typedarray-to-buffer@^3.1.5:
28922923
dependencies:
28932924
is-typedarray "^1.0.0"
28942925

2926+
typescript@^4.2.4:
2927+
version "4.2.4"
2928+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961"
2929+
integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==
2930+
28952931
universalify@^0.1.2:
28962932
version "0.1.2"
28972933
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"

0 commit comments

Comments
 (0)