Skip to content

Commit

Permalink
Revamp boilerplate to suit needs
Browse files Browse the repository at this point in the history
  • Loading branch information
roberrrt-s committed Oct 2, 2019
1 parent f30d3db commit 43d62ee
Show file tree
Hide file tree
Showing 23 changed files with 1,457 additions and 13,184 deletions.
43 changes: 43 additions & 0 deletions io-website/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"env": {
"node": true,
"es6": true,
"amd": true,
"browser": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"classes": true,
"globalReturn": true,
"generators": false,
"objectLiteralDuplicateProperties": false,
"jsx": true
}
},
"plugins": [
"import",
"react"
],
"settings": {
"import/core-modules": [],
"import/ignore": [
"node_modules",
"\\.(coffee|scss|css|less|hbs|svg|json)$"
],
"react": {
"version": "detect"
}
},
"rules": {
"react/display-name": [0],
"comma-dangle": "off",
"no-console": "off",
"no-unused-vars": "warn"
}
}
1 change: 1 addition & 0 deletions io-website/.stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
icons/templates/*
59 changes: 59 additions & 0 deletions io-website/.stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"extends": "stylelint-config-recommended",
"plugins": [
"stylelint-selector-bem-pattern"
],
"ignoreFiles": ["**/*.js"],
"rules": {
"block-opening-brace-space-before": "always",
"selector-list-comma-newline-after": "always",
"no-descending-specificity": null,
"indentation": "tab",
"no-empty-source": null,
"max-empty-lines": 2,
"number-leading-zero": "never",
"at-rule-empty-line-before": [
"always", {
"except": [
"blockless-after-same-name-blockless",
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"declaration-block-trailing-semicolon": "always",
"declaration-empty-line-before": [
"always", {
"except": [
"after-declaration",
"first-nested"
]
}
],
"at-rule-no-unknown": [
true,
"ignoreAtRules": [
"extend",
"at-root",
"debug",
"warn",
"error",
"if",
"else",
"for",
"each",
"while",
"mixin",
"include",
"content",
"return",
"function"
]
],
"plugin/selector-bem-pattern": {
"preset": "bem"
}
}
}
10 changes: 10 additions & 0 deletions io-website/io-website.sublime-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"folders":
[
{
"path": "/Users/Robert/Sites/Information-Organization",
"folder_exclude_patterns": ["node_modules"],
"file_exclude_patterns": ["*.sublime-project"],
}
]
}
Loading

0 comments on commit 43d62ee

Please sign in to comment.