Skip to content
This repository has been archived by the owner on Oct 3, 2018. It is now read-only.

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
01dr committed Jul 21, 2017
0 parents commit 8dc2c4b
Show file tree
Hide file tree
Showing 25 changed files with 8,402 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
["env", {
"modules": false,
"targets": { "browsers": ["ie >= 10", "> 5%"] }
}]
],
"plugins": [
"react-hot-loader/babel",
"transform-runtime",
"transform-react-jsx",
[ "react-css-modules", { "generateScopedName": "[local]___[hash:base64:5]" }]
]
}
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
34 changes: 34 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"extends": "airbnb-base",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"react"
],
"rules": {
"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,
"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,
"quotes": [2, "single"],
"jsx-quotes": [0, "prefer-single"],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
}
}
62 changes: 62 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

.idea
.DS_Store
dist
21 changes: 21 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-css-modules"],
"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,
"at-rule-no-unknown": [true, {
ignoreAtRules: ["use", "for"]
}]
},
"ignoreFiles": ["node_modules/*", "src/assets/**"],
"defaultSeverity": "error"
}
Loading

0 comments on commit 8dc2c4b

Please sign in to comment.