Skip to content

Commit d8f0cf4

Browse files
authored
chore(pluginutils): upgrade TypeScript (#715)
* chore(pluginutils): upgrade TypeScript * Fix lint errors * Update ini to fix security check failure
1 parent 0ff932c commit d8f0cf4

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

.eslintrc.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,13 @@ module.exports = {
4646
plugins: ['prettier-plugin-package']
4747
}
4848
]
49-
}
49+
},
50+
overrides: [
51+
{
52+
"files": ["**/*.ts"],
53+
"rules": {
54+
"no-undef": "off"
55+
}
56+
}
57+
]
5058
};

packages/pluginutils/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
"@types/node": "^14.0.26",
6565
"@types/picomatch": "^2.2.1",
6666
"acorn": "^8.0.4",
67-
"rollup": "^2.23.0"
67+
"rollup": "^2.23.0",
68+
"typescript": "^4.1.2"
6869
},
6970
"types": "types/index.d.ts",
7071
"ava": {

pnpm-lock.yaml

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)