diff --git a/package.json b/package.json index e56a78e4..c5616aef 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "cross-spawn": "^7.0.3", "doctoc": "^2.0.0", "eslint": "^7.27.0", - "eslint-config-codfish": "^10.0.0", + "eslint-config-codfish": "^10.1.0", "glob": "^7.1.7", "husky": "^6.0.0", "is-ci": "^3.0.0", @@ -156,6 +156,7 @@ "homepage": "https://github.com/codfish/cod-scripts#readme", "devDependencies": { "jest-in-case": "^1.0.2", - "slash": "^3.0.0" + "slash": "^3.0.0", + "typescript": "^4.3.2" } } diff --git a/src/config/eslintrc.js b/src/config/eslintrc.js index 8cd8326a..d1e7330f 100644 --- a/src/config/eslintrc.js +++ b/src/config/eslintrc.js @@ -9,7 +9,7 @@ const useBuiltinPrettierConfig = !hasLocalConfig('prettier') const useBuiltinBabelConfig = !hasLocalConfig('babel') module.exports = { - extends: [require.resolve('eslint-config-codfish')].filter(Boolean), + extends: require.resolve('eslint-config-codfish'), parserOptions: { babelOptions: useBuiltinBabelConfig ? {configFile: hereRelative('./babelrc.js')}