mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
6c732a91f0
commit
237c0f1d4f
3 changed files with 7 additions and 7 deletions
|
@ -25,7 +25,7 @@ target
|
|||
/src/plugins/vis_type_timelion/public/_generated_/**
|
||||
/src/plugins/vis_type_timelion/public/webpackShims/jquery.flot.*
|
||||
/x-pack/legacy/plugins/**/__tests__/fixtures/**
|
||||
/x-pack/legacy/plugins/apm/e2e/cypress/**/snapshots.js
|
||||
/x-pack/plugins/apm/e2e/cypress/**/snapshots.js
|
||||
/x-pack/legacy/plugins/canvas/canvas_plugin
|
||||
/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts
|
||||
/x-pack/legacy/plugins/canvas/shareable_runtime/build
|
||||
|
|
|
@ -310,7 +310,7 @@ module.exports = {
|
|||
{
|
||||
files: [
|
||||
'x-pack/test/functional/apps/**/*.js',
|
||||
'x-pack/legacy/plugins/apm/**/*.js',
|
||||
'x-pack/plugins/apm/**/*.js',
|
||||
'test/*/config.ts',
|
||||
'test/*/config_open.ts',
|
||||
'test/*/{tests,test_suites,apis,apps}/**/*',
|
||||
|
@ -397,7 +397,7 @@ module.exports = {
|
|||
'x-pack/**/*.test.js',
|
||||
'x-pack/test_utils/**/*',
|
||||
'x-pack/gulpfile.js',
|
||||
'x-pack/legacy/plugins/apm/public/utils/testHelpers.js',
|
||||
'x-pack/plugins/apm/public/utils/testHelpers.js',
|
||||
],
|
||||
rules: {
|
||||
'import/no-extraneous-dependencies': [
|
||||
|
@ -523,7 +523,7 @@ module.exports = {
|
|||
* APM overrides
|
||||
*/
|
||||
{
|
||||
files: ['x-pack/legacy/plugins/apm/**/*.js'],
|
||||
files: ['x-pack/plugins/apm/**/*.js'],
|
||||
rules: {
|
||||
'no-unused-vars': ['error', { ignoreRestSiblings: true }],
|
||||
'no-console': ['warn', { allow: ['error'] }],
|
||||
|
@ -531,7 +531,7 @@ module.exports = {
|
|||
},
|
||||
{
|
||||
plugins: ['react-hooks'],
|
||||
files: ['x-pack/legacy/plugins/apm/**/*.{ts,tsx}'],
|
||||
files: ['x-pack/plugins/apm/**/*.{ts,tsx}'],
|
||||
rules: {
|
||||
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
|
||||
'react-hooks/exhaustive-deps': ['error', { additionalHooks: '^useFetcher$' }],
|
||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -44,6 +44,6 @@ package-lock.json
|
|||
*.sublime-*
|
||||
npm-debug.log*
|
||||
.tern-project
|
||||
x-pack/legacy/plugins/apm/tsconfig.json
|
||||
x-pack/plugins/apm/tsconfig.json
|
||||
apm.tsconfig.json
|
||||
/x-pack/legacy/plugins/apm/e2e/snapshots.js
|
||||
/x-pack/plugins/apm/e2e/snapshots.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue