-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Seong Min Park
committed
Nov 18, 2020
1 parent
bdb53b7
commit a88d7cd
Showing
3 changed files
with
37 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": "@ridi/eslint-config", | ||
"rules": { | ||
"arrow-body-style": 0, | ||
"arrow-parens": 0, | ||
"no-param-reassign": 0, | ||
"no-underscore-dangle": 0, | ||
"react/destructuring-assignment": 0 | ||
} | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"extends": ["plugin:@typescript-eslint/recommended"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,33 @@ | ||
{ | ||
// Change this to match your project | ||
"include": [ | ||
"src/**/*" | ||
], | ||
"compilerOptions": { | ||
// Tells TypeScript to read JS files, as | ||
// normally they are ignored as source files | ||
"allowJs": true, | ||
// Generate d.ts files | ||
"target": "es2017", | ||
"module": "commonjs", | ||
// Object.fromEntries | ||
"lib": ["dom", "es2017", "es2019.object"], | ||
"declaration": true, | ||
// This compiler run should | ||
// only output d.ts files | ||
"composite": true, | ||
"emitDeclarationOnly": true, | ||
"outDir": "type" | ||
"isolatedModules": true, | ||
"importsNotUsedAsValues": "error", | ||
"allowJs": false, | ||
"strict": true, | ||
|
||
/* Additional Checks */ | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
|
||
/* Module Resolution Options */ | ||
"moduleResolution": "node", | ||
/* This needs to be false so our types are possible to consume without setting this */ | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
|
||
"rootDir": "src", | ||
"outDir": "lib", | ||
"declarationDir": "type" | ||
}, | ||
"include": ["src"], | ||
"exclude": ["lib","type"] | ||
} |