chore(eslint): add no-trailing-spaces rule (#1906)

This commit is contained in:
John Tanzer
2024-06-24 10:55:50 +02:00
committed by GitHub
parent 99c52e5008
commit 0a47a2b5f2
5 changed files with 11 additions and 12 deletions

View File

@@ -15,6 +15,7 @@ module.exports = {
'space-before-blocks': ['error', 'always'], 'space-before-blocks': ['error', 'always'],
'space-infix-ops': ['error', { int32Hint: false }], 'space-infix-ops': ['error', { int32Hint: false }],
'no-multi-spaces': ['error', { ignoreEOLComments: true }], 'no-multi-spaces': ['error', { ignoreEOLComments: true }],
'no-trailing-spaces': ['error'],
// Typescript // Typescript
'@typescript-eslint/type-annotation-spacing': 'error', '@typescript-eslint/type-annotation-spacing': 'error',

View File

@@ -17,4 +17,3 @@
</template> </template>
</UAlert> </UAlert>
</template> </template>

View File

@@ -7,4 +7,3 @@
</template> </template>
</UAlert> </UAlert>
</template> </template>