mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 20:17:52 +08:00
enable linting during test dev
This commit is contained in:
parent
3aa7503472
commit
cdab583dfa
@ -1,6 +1,15 @@
|
||||
var base = require('./karma.base.config.js')
|
||||
|
||||
module.exports = function (config) {
|
||||
// enable linting during dev
|
||||
base.webpack.module.preLoaders = [
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'eslint',
|
||||
exclude: /node_modules/
|
||||
}
|
||||
]
|
||||
|
||||
config.set(Object.assign(base, {
|
||||
browsers: ['Chrome'],
|
||||
reporters: ['progress']
|
||||
|
Loading…
Reference in New Issue
Block a user