diff --git a/templates/basic/tsconfig.json b/templates/basic/tsconfig.json index 441afb11c..2c85b2d99 100644 --- a/templates/basic/tsconfig.json +++ b/templates/basic/tsconfig.json @@ -14,10 +14,11 @@ // stricter type-checking for stronger correctness. Recommended by TS "strict": true, // linter checks for common issues - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, + // noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative + "noUnusedLocals": true, + "noUnusedParameters": true, // use Node's module resolution algorithm, instead of the legacy TS one "moduleResolution": "node", // transpile JSX to React.createElement diff --git a/templates/react-with-storybook/tsconfig.json b/templates/react-with-storybook/tsconfig.json index 441afb11c..2c85b2d99 100644 --- a/templates/react-with-storybook/tsconfig.json +++ b/templates/react-with-storybook/tsconfig.json @@ -14,10 +14,11 @@ // stricter type-checking for stronger correctness. Recommended by TS "strict": true, // linter checks for common issues - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, + // noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative + "noUnusedLocals": true, + "noUnusedParameters": true, // use Node's module resolution algorithm, instead of the legacy TS one "moduleResolution": "node", // transpile JSX to React.createElement diff --git a/templates/react/tsconfig.json b/templates/react/tsconfig.json index 441afb11c..2c85b2d99 100644 --- a/templates/react/tsconfig.json +++ b/templates/react/tsconfig.json @@ -14,10 +14,11 @@ // stricter type-checking for stronger correctness. Recommended by TS "strict": true, // linter checks for common issues - "noUnusedLocals": true, - "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, + // noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative + "noUnusedLocals": true, + "noUnusedParameters": true, // use Node's module resolution algorithm, instead of the legacy TS one "moduleResolution": "node", // transpile JSX to React.createElement