mirror of https://github.com/lukechilds/rollup.git
Browse Source
Introduce eslint to tests. Complaints are fixed, but none of them major.semi-dynamic-namespace-imports
Rich Harris
9 years ago
committed by
GitHub
38 changed files with 58 additions and 59 deletions
@ -0,0 +1,9 @@ |
|||||
|
{ |
||||
|
"rules": { |
||||
|
"no-console": [ 0 ], |
||||
|
"no-unused-vars": [ "error", { "vars": "all", "args": "none" } ] |
||||
|
}, |
||||
|
"env": { |
||||
|
"mocha": true |
||||
|
} |
||||
|
} |
@ -1,3 +1,3 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'consistent renaming test e' |
description: 'consistent renaming test e' |
||||
} |
}; |
@ -1,5 +1,3 @@ |
|||||
var assert = require( 'assert' ); |
|
||||
|
|
||||
module.exports = { |
module.exports = { |
||||
description: 'allows export { x as y }' |
description: 'allows export { x as y }' |
||||
}; |
}; |
||||
|
@ -1,5 +1,3 @@ |
|||||
var assert = require('assert'); |
|
||||
|
|
||||
module.exports = { |
module.exports = { |
||||
description: 'dynamic object assignments should be imported' |
description: 'dynamic object assignments should be imported' |
||||
}; |
}; |
||||
|
Loading…
Reference in new issue