Skip to content

Commit

Permalink
move eslint settings to td-tools package only
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner committed Sep 14, 2023
1 parent c641193 commit 6b4b010
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ module.exports = {
"@typescript-eslint/no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"@typescript-eslint/strict-boolean-expressions": ["error"],
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
Expand Down
5 changes: 4 additions & 1 deletion packages/td-tools/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "../../.eslintrc.js",
"ignorePatterns": "webpack.config.js"
"ignorePatterns": "webpack.config.js",
"rules": {
"@typescript-eslint/strict-boolean-expressions": ["error"]
}
}
3 changes: 2 additions & 1 deletion packages/td-tools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"resolveJsonModule": true,
"types": ["node", "readable-stream"],
"outDir": "dist",
"rootDir": "src"
"rootDir": "src",
"strictNullChecks": true
},
"include": ["src/**/*"]
}
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"module": "commonjs",
"outDir": "dist",
"strict": true,
"strictNullChecks": true,
"composite": true,
"incremental": true,
"sourceMap": true,
Expand Down

0 comments on commit 6b4b010

Please sign in to comment.