validate middleware, .editorconfig. close #1