-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nichlas W. Andersen
committed
Jun 20, 2018
0 parents
commit a5c7dc2
Showing
80 changed files
with
26,932 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Configures browser support for | ||
# Webpack and PostCSS | ||
# https://github.com/ai/browserslist | ||
|
||
[production] | ||
> 2% | ||
last 2 major versions | ||
ie >= 11 | ||
android >= 4.3.3 | ||
|
||
[development] | ||
last 1 major versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# Configures JS linting | ||
# https://eslint.org/ | ||
|
||
# Add third-party configs | ||
extends: | ||
- eslint:recommended | ||
- plugin:import/errors | ||
- plugin:import/warnings | ||
|
||
# Add third-party plugins | ||
plugins: | ||
- import | ||
- compat | ||
|
||
# Set target environment | ||
env: | ||
browser: true | ||
|
||
# Add support for babel (ES6) | ||
parser: babel-eslint | ||
|
||
rules: | ||
# Best Practices | ||
# https://github.com/eslint/eslint/tree/master/docs/rules#best-practices | ||
no-fallthrough: 2 | ||
no-redeclare: 2 | ||
|
||
# Browser compatibility | ||
compat/compat: error | ||
|
||
# Webpack import support | ||
import/default: 0 | ||
|
||
# Stylistic Issues | ||
# https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues | ||
comma-spacing: 2 | ||
eol-last: 2 | ||
eqeqeq: ["error", "smart"] | ||
indent: [2, 2, {SwitchCase: 1}] | ||
keyword-spacing: 2 | ||
max-len: [1, 160, 2] | ||
new-parens: 2 | ||
no-mixed-spaces-and-tabs: 2 | ||
no-multiple-empty-lines: [2, {max: 2}] | ||
no-trailing-spaces: 2 | ||
object-curly-spacing: [2, "never"] | ||
quotes: [2, "double", "avoid-escape"] | ||
semi: never | ||
space-before-blocks: [2, "always"] | ||
space-before-function-paren: [2, "never"] | ||
space-in-parens: [2, "never"] | ||
space-infix-ops: 2 | ||
space-unary-ops: 2 | ||
|
||
# ECMAScript 6 | ||
# http://eslint.org/docs/rules/#ecmascript-6 | ||
arrow-parens: [2, "always"] | ||
arrow-spacing: [2, {"before": true, "after": true}] | ||
no-confusing-arrow: 2 | ||
prefer-const: 2 | ||
|
||
# Strict Mode | ||
# https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode | ||
strict: [2, "global"] | ||
|
||
# Variables | ||
# https://github.com/eslint/eslint/tree/master/docs/rules#variables | ||
no-undef: 2 | ||
no-unused-vars: [2, {"args": "none"}] | ||
|
||
# Browser compatibility | ||
compat/compat: error | ||
|
||
# Global scoped method and vars | ||
globals: | ||
__dirname: true | ||
require: true | ||
process: true | ||
ENV: true | ||
module: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Don't commit system files or dependencies | ||
*.DS_Store | ||
node_modules/ | ||
|
||
# Ensure Hugo builds aren't committed to Git | ||
public/ | ||
site/public/ | ||
dist/ | ||
.tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Learn more about PostCSS: | ||
// https://github.com/postcss/postcss | ||
|
||
module.exports = function(ctx = {}) { | ||
const file = ctx.file | ||
const opts = ctx.options || {} | ||
const isProduction = (opts.env === "production") || (process.env.NODE_ENV === "production") | ||
|
||
return { | ||
parser: "postcss-scss", | ||
plugins: { | ||
"precss": {}, | ||
"postcss-cssnext": {}, | ||
"cssnano": (isProduction) ? {autoprefixer: false} : false, | ||
"laggard": {}, | ||
"postcss-reporter": {}, | ||
"postcss-browser-reporter": (isProduction) ? {} : false | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Configures CSS Linting | ||
# https://stylelint.io/ | ||
extends: | ||
- stylelint-config-standard | ||
- stylelint-config-sass-guidelines | ||
plugins: | ||
- stylelint-scss | ||
- stylelint-no-unsupported-browser-features | ||
defaultSeverity: warning | ||
rules: | ||
plugin/no-unsupported-browser-features: | ||
- true | ||
- ignore: [] | ||
severity: warning | ||
scss/at-extend-no-missing-placeholder: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
source "https://rubygems.org" | ||
|
||
# Hello! This is where you manage which Jekyll version is used to run. | ||
# When you want to use a different version, change it below, save the | ||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: | ||
# | ||
# bundle exec jekyll serve | ||
# | ||
# This will help ensure the proper Jekyll version is running. | ||
# Happy Jekylling! | ||
gem "jekyll", "~> 3.6.0" | ||
|
||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and | ||
# uncomment the line below. To upgrade, run `bundle update github-pages`. | ||
# gem "github-pages", group: :jekyll_plugins | ||
|
||
# If you have any plugins, put them here! | ||
group :jekyll_plugins do | ||
gem "jekyll-feed", "~> 0.6" | ||
gem "jekyll-menus" | ||
end | ||
|
||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.5.2) | ||
public_suffix (>= 2.0.2, < 4.0) | ||
colorator (1.1.0) | ||
ffi (1.9.18) | ||
forwardable-extended (2.6.0) | ||
jekyll (3.6.0) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
jekyll-sass-converter (~> 1.0) | ||
jekyll-watch (~> 1.1) | ||
kramdown (~> 1.14) | ||
liquid (~> 4.0) | ||
mercenary (~> 0.3.3) | ||
pathutil (~> 0.9) | ||
rouge (>= 1.7, < 3) | ||
safe_yaml (~> 1.0) | ||
jekyll-feed (0.9.2) | ||
jekyll (~> 3.3) | ||
jekyll-menus (0.6.0) | ||
jekyll (~> 3.1) | ||
jekyll-sass-converter (1.5.0) | ||
sass (~> 3.4) | ||
jekyll-watch (1.5.0) | ||
listen (~> 3.0, < 3.1) | ||
kramdown (1.15.0) | ||
liquid (4.0.0) | ||
listen (3.0.8) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
mercenary (0.3.6) | ||
pathutil (0.14.0) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (3.0.0) | ||
rb-fsevent (0.10.2) | ||
rb-inotify (0.9.10) | ||
ffi (>= 0.5.0, < 2) | ||
rouge (2.2.1) | ||
safe_yaml (1.0.4) | ||
sass (3.5.1) | ||
sass-listen (~> 4.0.0) | ||
sass-listen (4.0.0) | ||
rb-fsevent (~> 0.9, >= 0.9.4) | ||
rb-inotify (~> 0.9, >= 0.9.7) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
jekyll (~> 3.6.0) | ||
jekyll-feed (~> 0.6) | ||
jekyll-menus | ||
tzinfo-data | ||
|
||
BUNDLED WITH | ||
1.15.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Copyright (c) 2017 Forestry <contact@forestry.io> | ||
|
||
MIT License | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
Oops, something went wrong.