mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
d473a7e187
commit
794caced01
15 changed files with 42 additions and 35 deletions
|
|
@ -28,7 +28,7 @@ const clean = (array) => array.filter(notEmpty);
|
|||
|
||||
const noParse = (a) => /\.spec\.js$/.test(a);
|
||||
|
||||
const babelDev = {
|
||||
const options = {
|
||||
babelrc: false,
|
||||
plugins: [
|
||||
'module:babel-plugin-macros',
|
||||
|
|
@ -45,7 +45,7 @@ const rules = clean([
|
|||
test: /\.js$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel-loader',
|
||||
options: babelDev,
|
||||
options,
|
||||
}]);
|
||||
|
||||
const plugins = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue