test(aio): enable linting of transforms/
and add rules for jasmine
This commit is contained in:

committed by
Pete Bacon Darwin

parent
a562c64ed6
commit
62f9738a9a
@ -47,12 +47,12 @@ module.exports = function parseArgString() {
|
||||
key = key.substr(1);
|
||||
}
|
||||
} else {
|
||||
unnammedArgs.push(arg)
|
||||
unnammedArgs.push(arg);
|
||||
key = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
} while (match !== null);
|
||||
return args;
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
@ -3,7 +3,6 @@ const html = require('./region-matchers/html');
|
||||
const inlineC = require('./region-matchers/inline-c');
|
||||
const inlineCOnly = require('./region-matchers/inline-c-only');
|
||||
const inlineHash = require('./region-matchers/inline-hash');
|
||||
const NO_NAME_REGION = '';
|
||||
const DEFAULT_PLASTER = '. . .';
|
||||
const {mapObject} = require('../utils');
|
||||
|
||||
@ -140,4 +139,4 @@ function RegionParserError(message, index) {
|
||||
this.stack = (new Error()).stack;
|
||||
}
|
||||
RegionParserError.prototype = Object.create(Error.prototype);
|
||||
RegionParserError.prototype.constructor = RegionParserError;
|
||||
RegionParserError.prototype.constructor = RegionParserError;
|
||||
|
@ -172,7 +172,7 @@ describe('regionParser service', () => {
|
||||
expect(output.regions['A']).toEqual(t('abc', 'xyz'));
|
||||
expect(output.regions['B']).toEqual(t('abc'));
|
||||
expect(output.regions['C']).toEqual(t('xyz'));
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
function t() {
|
||||
|
Reference in New Issue
Block a user