Skip to content

Commit

Permalink
Merge branch 'master' into sec-team-543/allow-wildcard-for-paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Apr 29, 2021
2 parents d7cb47b + 3f48479 commit e8e9ce5
Show file tree
Hide file tree
Showing 718 changed files with 16,388 additions and 6,094 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,10 @@ module.exports = {
['parent', 'sibling', 'index'],
],
pathGroups: [
{
pattern: '{**,.}/*.test.mocks',
group: 'unknown',
},
{
pattern: '{@kbn/**,src/**,kibana{,/**}}',
group: 'internal',
Expand All @@ -1402,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 e8e9ce5

Please sign in to comment.