From 3821a2ab4e6dacfe783b47769f4ab5f86493d728 Mon Sep 17 00:00:00 2001
From: ebremner <ebremner@uwaterloo.ca>
Date: Mon, 13 Nov 2017 14:10:43 -0500
Subject: [PATCH] Adding config files for editor, lint and git

---
 .editorconfig |  5 +++++
 .gitignore    | 30 +++++++++++++++++++++++++-----
 .stylelintrc  | 15 +++++++++++++++
 3 files changed, 45 insertions(+), 5 deletions(-)
 create mode 100644 .editorconfig
 create mode 100644 .stylelintrc

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..cf0dff65
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,5 @@
+# Unix-style newlines with a newline ending every file
+[*]
+indent_style = space
+indent_size = 2
+insert_final_newline = true
diff --git a/.gitignore b/.gitignore
index f5ff7da6..c592d810 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,26 @@
-# ignore install nodejs modules
+# Ignore compiled files.
+dist
+vendor
+
+# Pattern Lab (ignored initially)
+pattern-lab
+**/bem.function.php
+
+# Twig helper functions
+**/add_attributes.function.php
+**/bem.function.php
+
+# NPM
 node_modules
-gulpfile-m.js
-gulpfile-sr.js
-.sass-cache
-rwd1.terminal
\ No newline at end of file
+npm-debug.log
+
+# Git deploy
+.publish
+
+.DS_Store
+
+# theme setup file
+local.gulp-config.js
+
+# yarn lock file
+yarn.lock
diff --git a/.stylelintrc b/.stylelintrc
new file mode 100644
index 00000000..643f3f17
--- /dev/null
+++ b/.stylelintrc
@@ -0,0 +1,15 @@
+{
+  "extends": "stylelint-config-standard",
+  "rules": {
+    "at-rule-no-unknown": [ true, {
+      "ignoreAtRules": [
+        "include",
+        "mixin",
+        "extend",
+        "if",
+        "each",
+        "content"
+      ]
+    }]
+  }
+}
-- 
GitLab