trim-whitespaces-loader
v0.1.2
Published
A small loader to strip any white space from start and end of the file. Created to allow the vue-loader linting for TypeScript
Downloads
3
Readme
trim-whitespaces-loader
A quick solution to vue's typescript linting problem where single vue file produces a lot of white spaces.
Example of use:
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
'ts': [
'vue-ts-loader',
'tslint-loader?{"emitErrors":true}',
'trim-whitespaces-loader',
],