Skip to content

Commit 51cf870

Browse files
committed
Update engine & content
1 parent 60812a1 commit 51cf870

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+17409
-10383
lines changed

.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es6: true,
5+
node: true
6+
},
7+
extends: ['standard'],
8+
globals: {
9+
Atomics: 'readonly',
10+
SharedArrayBuffer: 'readonly'
11+
},
12+
parser: "babel-eslint",
13+
parserOptions: {
14+
ecmaVersion: 2018,
15+
sourceType: 'module'
16+
},
17+
rules: {
18+
semi: ['error', 'always'],
19+
// fix: Cannot read property 'range' of null
20+
//https://github.com/babel/babel-eslint/issues/681#issuecomment-420663038
21+
'template-curly-spacing' : 'off',
22+
indent : "off"
23+
},
24+
"ignorePatterns": ["**/*test.js"]
25+
}

.stylelintrc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"extends": "stylelint-config-standard",
3+
"rules": {
4+
"indentation": 2,
5+
"string-quotes": "double",
6+
"no-duplicate-selectors": true,
7+
"color-hex-case": "upper",
8+
"color-hex-length": "short",
9+
"selector-max-id": 0,
10+
"selector-combinator-space-after": "always",
11+
"selector-attribute-quotes": "always",
12+
"selector-type-case": "upper",
13+
"declaration-block-trailing-semicolon": "always",
14+
"declaration-no-important": true,
15+
"declaration-colon-space-before": "never",
16+
"declaration-colon-space-after": "always-single-line",
17+
"declaration-colon-newline-after": null,
18+
"property-no-vendor-prefix": true,
19+
"value-no-vendor-prefix": true,
20+
"number-leading-zero": "never",
21+
"function-url-quotes": "always",
22+
"font-family-name-quotes": "always-where-required",
23+
"comment-whitespace-inside": "always",
24+
"comment-empty-line-before": null,
25+
"custom-property-empty-line-before": null,
26+
"at-rule-no-vendor-prefix": true,
27+
"selector-pseudo-element-colon-notation": "double",
28+
"selector-pseudo-class-parentheses-space-inside": "never",
29+
"selector-no-vendor-prefix": true,
30+
"media-feature-range-operator-space-before": "always",
31+
"media-feature-range-operator-space-after": "always",
32+
"media-feature-parentheses-space-inside": "always",
33+
"media-feature-colon-space-before": "never",
34+
"media-feature-colon-space-after": "always"
35+
}
36+
}

constants.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const TITLE = 'Flex Cheatsheet';
2+
const DESC = 'Demos for W3C CSS Flexbox Specification http://www.w3.org/TR/css-flexbox-1/';
3+
const URL = 'https://yoksel.github.io/flex-cheatsheet/';
4+
const IMAGE = '';
5+
const GITHUB = 'https://github.com/yoksel/flex-cheatsheet/';
6+
const COUNTER = ``;
7+
const HIGHLIGHT_GRID = 0;
8+
9+
module.exports = {
10+
TITLE,
11+
DESC,
12+
URL,
13+
IMAGE,
14+
GITHUB,
15+
COUNTER,
16+
HIGHLIGHT_GRID
17+
};

gulpfile.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

index.html

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)