forked from alxshelepenok/lumen
-
Notifications
You must be signed in to change notification settings - Fork 12
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
1 parent
e83dfc6
commit 8b92891
Showing
204 changed files
with
18,707 additions
and
3,903 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
version: 2 | ||
|
||
defaults: &defaults | ||
working_directory: ~/repo | ||
docker: | ||
- image: circleci/node:8.9.1 | ||
|
||
jobs: | ||
test: | ||
<<: *defaults | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "yarn.lock" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: | ||
name: Install and build package | ||
command: yarn install --frozen-lockfile | ||
|
||
- run: | ||
name: "Lint" | ||
command: yarn lint:all | ||
|
||
- run: | ||
name: Coverage | ||
command: yarn test:coverage --runInBand --no-cache | ||
|
||
- run: | ||
name: Unit tests | ||
command: yarn test --runInBand --no-cache | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "yarn.lock" }} | ||
workflows: | ||
version: 2 | ||
build_test: | ||
jobs: | ||
- test |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,25 +1,65 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"extends": "airbnb-base", | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true, | ||
"jest/globals": true | ||
}, | ||
"plugins": [ | ||
"react", | ||
"jest", | ||
"jsx-a11y", | ||
"import" | ||
], | ||
"globals": { | ||
"graphql": true | ||
}, | ||
"rules": { | ||
"react/jsx-filename-extension": [0], | ||
"react/prefer-stateless-function": [0], | ||
"react/prop-types": [0], | ||
"import/no-extraneous-dependencies": [0], | ||
"comma-dangle": ["error", "never"], | ||
"jsx-a11y/anchor-is-valid": [0], | ||
"prefer-destructuring": [0], | ||
"object-curly-newline": ["error", { "multiline": true, "minProperties": 5 }], | ||
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }], | ||
"import/extensions": [0], | ||
"no-console": "off" | ||
"comma-dangle": 0, | ||
"import/imports-first": 0, | ||
"global-require": 0, | ||
"class-methods-use-this": 0, | ||
"arrow-body-style": [ | ||
2, | ||
"as-needed" | ||
], | ||
"arrow-parens": [ | ||
"error", | ||
"always" | ||
], | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{ | ||
"devDependencies": true | ||
} | ||
], | ||
"no-debugger": 0, | ||
"dot-notation": 0, | ||
"no-console": 0, | ||
"new-cap": 0, | ||
"strict": 0, | ||
"no-param-reassign": [ | ||
"error", | ||
{ | ||
"props": false | ||
} | ||
], | ||
"no-underscore-dangle": 0, | ||
"no-use-before-define": 0, | ||
"eol-last": 0, | ||
"no-shadow": 0, | ||
"quotes": [ | ||
2, | ||
"single" | ||
], | ||
"jsx-quotes": [ | ||
0, | ||
"prefer-single" | ||
], | ||
"react/jsx-no-undef": 1, | ||
"react/jsx-uses-react": 1, | ||
"react/jsx-uses-vars": 1 | ||
} | ||
} |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.jsx linguist-language=JavaScript | ||
public linguist-vendored | ||
src/assets/fonts linguist-vendored | ||
/.github export-ignore | ||
/.gitattributes export-ignore | ||
/.editorconfig export-ignore | ||
/.travis.yml export-ignore | ||
**/*.js.snap export-ignore |
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ npm-debug.log | |
.eslintcache | ||
.gatsby-context.js | ||
.idea | ||
gatsby-starter-lumen.iml | ||
gatsby-starter-lumen.iml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
{ | ||
"extends": "stylelint-config-recommended-scss", | ||
"rules": { | ||
"color-named": "never", | ||
"font-family-name-quotes": "always-where-required", | ||
"font-weight-notation": "named-where-possible", | ||
"function-url-no-scheme-relative": true, | ||
"function-url-quotes": "always", | ||
"string-quotes": "single", | ||
"value-keyword-case": "lower", | ||
"unit-blacklist": [], | ||
"max-empty-lines": 2, | ||
"no-descending-specificity": true, | ||
"no-duplicate-selectors": true, | ||
"font-family-no-missing-generic-family-keyword": null, | ||
"property-no-unknown": [true, { | ||
ignoreProperties: ["/^lost-/"] | ||
}] | ||
}, | ||
"ignoreFiles": [ | ||
"node_modules/*", | ||
"src/assets/**" | ||
], | ||
"defaultSeverity": "error" | ||
} |
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,37 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
url: 'https://lumen.netlify.com', | ||
title: 'Blog by John Doe', | ||
subtitle: 'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.', | ||
copyright: '© All rights reserved.', | ||
disqusShortname: '', | ||
postsPerPage: 1, | ||
googleAnalyticsId: 'UA-73379983-2', | ||
menu: [ | ||
{ | ||
label: 'Articles', | ||
path: '/' | ||
}, | ||
{ | ||
label: 'About me', | ||
path: '/about/' | ||
}, | ||
{ | ||
label: 'Contact me', | ||
path: '/contact/' | ||
} | ||
], | ||
author: { | ||
name: 'John Doe', | ||
bio: 'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.', | ||
contacts: { | ||
email: '#', | ||
telegram: '#', | ||
twitter: '#', | ||
github: '#', | ||
rss: '#', | ||
vkontakte: '#' | ||
} | ||
} | ||
}; |
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
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,5 @@ | ||
'use strict'; | ||
|
||
require('./src/assets/scss/init.scss'); | ||
|
||
exports.onClientEntry = () => {}; |
Oops, something went wrong.