[canvas] unify eslint config in .eslintrc.js (#25260)
Simply remove the remaining eslint config files from canvas and merge with other canvas related overrides in `.eslintrc.js`
This commit is contained in:
parent
759a2b64f3
commit
313b908944
12
.eslintrc.js
12
.eslintrc.js
|
@ -444,5 +444,17 @@ module.exports = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
files: ['x-pack/plugins/canvas/public/**/*'],
|
||||||
|
env: {
|
||||||
|
browser: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
files: ['x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/**/*'],
|
||||||
|
env: {
|
||||||
|
jquery: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
env:
|
|
||||||
jquery: true
|
|
|
@ -1,2 +0,0 @@
|
||||||
env:
|
|
||||||
browser: true
|
|
Loading…
Reference in a new issue