[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:
Spencer 2018-11-07 08:33:39 -08:00 committed by joe fleming
parent 759a2b64f3
commit 313b908944
3 changed files with 12 additions and 4 deletions

View file

@ -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,
},
},
],
};

View file

@ -1,2 +0,0 @@
env:
jquery: true

View file

@ -1,2 +0,0 @@
env:
browser: true