• Aminda Suomalainen's avatar
    Add pre-commit configuration (#34) · e4c02b96
    Aminda Suomalainen authored
    
    
    * add .pre-commit-config.yaml
    Signed-off-by: default avatarAminda Suomalainen <suomalainen+git@mikaela.info>
    
    * .editorconfig: decrease indent size for text
    
    * .pre-commit-config.yaml: remove prettier
    Signed-off-by: default avatarAminda Suomalainen <suomalainen+git@mikaela.info>
    
    * .editorconfig consistency.
    
    * .pre-commit-config.yaml: restore sample hooks
    
    * .editorconfig: disable indent_size for LICENSE & NOTICE
    
    * pre-commit run --all-files
    
    * tsconfig.json: tabs to spaces
    
    * .pre-commit-config.yaml: update editorconfig-checker to 2.7.2
    
    * .editorconfig: disable indent_size for markdown
    
    * mjolnir-entrypoint.sh: retab
    
    * .editorconfig: also exclude json from indent checking
    
    * test/nginx.conf: retab
    
    * test/integration/commands/redactCommandTest.ts: remove leading space
    
    * retab or remove leading whitespaces for the rest of the files
    
    * src/appservice/datastore.ts remove newlines
    
    * test/integration/commands/roomTest.ts: remove leading space.
    
    ---------
    Signed-off-by: default avatarAminda Suomalainen <suomalainen+git@mikaela.info>
    Co-authored-by: default avatargnuxie <Gnuxie@protonmail.com>
    e4c02b96
This project is licensed under the Other. Learn more