Skip to content

Commit 9f5798d

Browse files
committed
Start setup. delete unnecessary folders and packages
0 parents  commit 9f5798d

12 files changed

+979
-0
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cypress/
2+
mocks/

.eslintrc.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "trybe-fundamentals",
3+
"rules": {
4+
"no-alert": "off",
5+
"no-console": "off",
6+
"prefer-arrow-callback": "off",
7+
"func-names": "off",
8+
"no-unused-vars": "warn"
9+
},
10+
"env": {
11+
"browser": true
12+
}
13+
}

.github/CODEOWNERS

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This is a comment.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# These owners will be the default owners for everything in
5+
# the repo. Unless a later match takes precedence,
6+
# @global-owner1 and @global-owner2 will be requested for
7+
# review when someone opens a pull request.
8+
# * @global-owner1 @global-owner2
9+
10+
11+
* @unamednada

.github/workflows/main.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
pull_request:
3+
types: [opened, synchronize]
4+
5+
jobs:
6+
eslint:
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/[email protected]
11+
with:
12+
node-version: '12'
13+
- name: ESLint
14+
uses: betrybe/[email protected]
15+
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# O NOME DO ARQUIVO DEVE SER `.gitignore` (ATENTE-SE AO PONTO NO INÍCIO)
2+
3+
# VSCode repo settings
4+
.vscode
5+
node_modules/

.stylelintrc.json

+133
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
{
2+
"rules": {
3+
"at-rule-empty-line-before": "always",
4+
"at-rule-name-case": "lower",
5+
"at-rule-name-space-after": "always",
6+
"at-rule-no-unknown": true,
7+
"at-rule-no-vendor-prefix": true,
8+
"at-rule-semicolon-newline-after": "always",
9+
"block-closing-brace-newline-after": "always",
10+
"block-no-empty": true,
11+
"block-opening-brace-space-after": "always-single-line",
12+
"block-opening-brace-space-before": "always",
13+
"color-hex-case": "lower",
14+
"color-hex-length": "short",
15+
"color-named": "always-where-possible",
16+
"color-no-hex": true,
17+
"color-no-invalid-hex": true,
18+
"comment-empty-line-before": "always",
19+
"comment-no-empty": true,
20+
"comment-whitespace-inside": "always",
21+
"custom-property-empty-line-before": "always",
22+
"declaration-bang-space-after": "always",
23+
"declaration-bang-space-before": "always",
24+
"declaration-block-no-duplicate-properties": true,
25+
"declaration-block-no-redundant-longhand-properties": true,
26+
"declaration-block-no-shorthand-property-overrides": true,
27+
"declaration-block-semicolon-newline-after": "always",
28+
"declaration-block-semicolon-newline-before": "never-multi-line",
29+
"declaration-block-semicolon-space-after": "always-single-line",
30+
"declaration-block-single-line-max-declarations": 1,
31+
"declaration-block-trailing-semicolon": "always",
32+
"declaration-colon-space-after": "always",
33+
"declaration-empty-line-before": "never",
34+
"declaration-no-important": true,
35+
"font-family-name-quotes": "always-where-required",
36+
"font-family-no-duplicate-names": true,
37+
"font-family-no-missing-generic-family-keyword": true,
38+
"font-weight-notation": "numeric",
39+
"function-calc-no-unspaced-operator": true,
40+
"function-comma-space-after": "always",
41+
"function-comma-space-before": "never",
42+
"function-linear-gradient-no-nonstandard-direction": true,
43+
"function-max-empty-lines": 0,
44+
"function-name-case": "lower",
45+
"function-url-no-scheme-relative": true,
46+
"function-url-quotes": "always",
47+
"function-whitespace-after": "always",
48+
"indentation": [
49+
2,
50+
{
51+
"baseIndentLevel": 1
52+
}
53+
],
54+
"keyframe-declaration-no-important": true,
55+
"length-zero-no-unit": true,
56+
"linebreaks": "unix",
57+
"max-empty-lines": 2,
58+
"max-line-length": 90,
59+
"max-nesting-depth": 2,
60+
"media-feature-colon-space-after": "always",
61+
"media-feature-colon-space-before": "always",
62+
"media-feature-name-case": "lower",
63+
"media-feature-name-no-unknown": true,
64+
"media-feature-name-no-vendor-prefix": true,
65+
"media-feature-parentheses-space-inside": "always",
66+
"media-feature-range-operator-space-after": "always",
67+
"media-feature-range-operator-space-before": "always",
68+
"media-query-list-comma-space-after": "always",
69+
"media-query-list-comma-space-before": "always",
70+
"no-descending-specificity": true,
71+
"no-duplicate-at-import-rules": true,
72+
"no-duplicate-selectors": true,
73+
"no-empty-source": true,
74+
"no-empty-first-line": true,
75+
"no-eol-whitespace": true,
76+
"no-extra-semicolons": true,
77+
"no-invalid-double-slash-comments": true,
78+
"no-missing-end-of-source-newline": true,
79+
"no-unknown-animations": true,
80+
"number-leading-zero": "always",
81+
"number-max-precision": 3,
82+
"number-no-trailing-zeros": true,
83+
"property-case": "lower",
84+
"property-no-unknown": true,
85+
"property-no-vendor-prefix": true,
86+
"rule-empty-line-before": [
87+
"always",
88+
{
89+
"except": [
90+
"after-single-line-comment"
91+
]
92+
}
93+
],
94+
"selector-attribute-brackets-space-inside": "always",
95+
"selector-attribute-operator-space-after": "always",
96+
"selector-attribute-operator-space-before": "always",
97+
"selector-attribute-quotes": "always",
98+
"selector-combinator-space-after": "always",
99+
"selector-combinator-space-before": "always",
100+
"selector-descendant-combinator-no-non-space": true,
101+
"selector-list-comma-space-after": "always",
102+
"selector-list-comma-space-before": "always",
103+
"selector-max-attribute": 3,
104+
"selector-max-class": 5,
105+
"selector-max-combinators": 3,
106+
"selector-max-compound-selectors": 5,
107+
"selector-max-empty-lines": 0,
108+
"selector-max-id": 5,
109+
"selector-max-pseudo-class": 3,
110+
"selector-max-type": 5,
111+
"selector-max-universal": 3,
112+
"selector-no-qualifying-type": true,
113+
"selector-no-vendor-prefix": true,
114+
"selector-pseudo-class-case": "lower",
115+
"selector-pseudo-class-no-unknown": true,
116+
"selector-pseudo-class-parentheses-space-inside": "always",
117+
"selector-pseudo-element-case": "lower",
118+
"selector-pseudo-element-colon-notation": "single",
119+
"selector-pseudo-element-no-unknown": true,
120+
"selector-type-case": "lower",
121+
"selector-type-no-unknown": true,
122+
"shorthand-property-no-redundant-values": true,
123+
"string-no-newline": true,
124+
"string-quotes": "single",
125+
"time-min-milliseconds": 100,
126+
"unit-case": "lower",
127+
"unit-no-unknown": true,
128+
"value-keyword-case": "lower",
129+
"value-list-comma-space-after": "always-single-line",
130+
"value-list-max-empty-lines": 0,
131+
"value-no-vendor-prefix": true
132+
}
133+
}

0 commit comments

Comments
 (0)