You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.deprecation('The ESLint integration is now deprecated and will be removed in the next major release. Please use the standalone ESLint CLI instead, or use the ESLint Webpack plugin directly.');
it('Call method with a not supported loader',()=>{
1493
1493
constconfig=createConfig();
1494
1494
1495
1495
expect(()=>{
1496
1496
config.configureLoaderRule('reason');
1497
-
}).to.throw('Loader "reason" is not configurable. Valid loaders are "javascript", "css", "images", "fonts", "sass", "less", "stylus", "vue", "eslint", "typescript", "handlebars", "svelte" and the aliases "js", "ts", "scss".');
1497
+
}).to.throw('Loader "reason" is not configurable. Valid loaders are "javascript", "css", "images", "fonts", "sass", "less", "stylus", "vue", "typescript", "handlebars", "svelte" and the aliases "js", "ts", "scss".');
1498
1498
});
1499
1499
1500
1500
it('Call method with not a valid callback',()=>{
1501
1501
constconfig=createConfig();
1502
1502
1503
1503
expect(()=>{
1504
-
config.configureLoaderRule('eslint');
1504
+
config.configureLoaderRule('javascript');
1505
1505
}).to.throw('Argument 2 to configureLoaderRule() must be a callback function.');
1506
1506
1507
1507
expect(()=>{
1508
-
config.configureLoaderRule('eslint',{});
1508
+
config.configureLoaderRule('javascript',{});
1509
1509
}).to.throw('Argument 2 to configureLoaderRule() must be a callback function.');
0 commit comments