-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from FormidableLabs/CI/CDSetup
CI/CD Setup
- Loading branch information
Showing
21 changed files
with
865 additions
and
229 deletions.
There are no files selected for viewing
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,2 @@ | ||
node_modules/ | ||
dist/ |
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,62 @@ | ||
{ | ||
"root": true, | ||
"parser": "babel-eslint", | ||
"extends": [ | ||
"formidable/configurations/es6-react", | ||
"prettier", | ||
"prettier/react" | ||
], | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true, | ||
"jest": true | ||
}, | ||
"globals": { | ||
"expect": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true, | ||
"generators": true, | ||
"experimentalObjectRestSpread": true | ||
} | ||
}, | ||
"rules": { | ||
"comma-dangle": "off", | ||
"indent": "off", | ||
"space-before-function-paren": "off", | ||
"react/jsx-indent-props": "off", | ||
"max-len": "off", | ||
"no-magic-numbers": "off", | ||
"func-style": "off", | ||
"arrow-parens": "off", | ||
"no-use-before-define": "off", | ||
"no-undef": "off", | ||
"react/jsx-filename-extension": "off", | ||
"react/require-extension": "off", | ||
"react/no-multi-comp": "off", | ||
"react/prop-types": "warn", | ||
"react/sort-comp": "warn", | ||
"react/sort-prop-types": "warn", | ||
"react/jsx-handler-names": "off", | ||
"react/no-find-dom-node": "off", | ||
"no-invalid-this": "off", | ||
"complexity": "off", | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_+$" | ||
} | ||
], | ||
"import/no-unresolved": [2, { "ignore": ["polished", "next/document"] }], | ||
"prefer-template": "off", | ||
"filenames/match-regex": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"max-params": ["error", 5], | ||
"max-nested-callbacks": ["error", 5] | ||
} | ||
} |
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,33 @@ | ||
tasks: | ||
install: | ||
image: node:carbon | ||
command: | ||
- yarn | ||
args: | ||
- install | ||
lint: | ||
image: node:carbon | ||
command: | ||
- yarn | ||
args: | ||
- lint | ||
test: | ||
image: node:carbon | ||
command: | ||
- yarn | ||
args: | ||
- test | ||
build: | ||
image: node:carbon | ||
command: | ||
- yarn | ||
args: | ||
- build | ||
|
||
workflow: | ||
- install | ||
- sail:parallel: | ||
- lint | ||
- test | ||
- prettier | ||
- build |
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 +1 @@ | ||
import '@storybook/addon-knobs/register' | ||
import '@storybook/addon-knobs/register'; |
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
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
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
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
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
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
Oops, something went wrong.