Skip to content

Commit

Permalink
[Telemetry] Remove all usages of any (#98338)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo authored Apr 27, 2021
1 parent a386fd8 commit 6ed93c3
Show file tree
Hide file tree
Showing 55 changed files with 1,089 additions and 348 deletions.
18 changes: 18 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1406,6 +1406,24 @@ module.exports = {
},
},

/**
* Do not allow `any`
*/
{
files: [
'packages/kbn-analytics/**',
// 'packages/kbn-telemetry-tools/**',
'src/plugins/kibana_usage_collection/**',
'src/plugins/usage_collection/**',
'src/plugins/telemetry/**',
'src/plugins/telemetry_collection_manager/**',
'src/plugins/telemetry_management_section/**',
'x-pack/plugins/telemetry_collection_xpack/**',
],
rules: {
'@typescript-eslint/no-explicit-any': 'error',
},
},
{
files: [
// core-team owned code
Expand Down
Loading

0 comments on commit 6ed93c3

Please sign in to comment.