From 1b588c4ba0b2d85df71054107c3be99086166f6f Mon Sep 17 00:00:00 2001 From: Kevin Peters Date: Thu, 2 Aug 2018 10:58:41 +0200 Subject: [PATCH] fix: use spaces instead of tabs and include editorconfig --- .editorconfig | 10 ++++++++++ Dockerfile | 12 ++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0ea0cc4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/Dockerfile b/Dockerfile index e32b60f..5e20e3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,12 @@ FROM node:8.11.3-slim RUN apt-get update && \ apt-get install -y --no-install-recommends \ - git \ - python \ - make \ - gcc \ - g++ \ - libc6-dev + git \ + python \ + make \ + gcc \ + g++ \ + libc6-dev RUN git clone https://github.com/Financial-Times/polyfill-service.git /polyfill