Skip to content

Commit

Permalink
Merge branch 'master' of github.com:carbon-design-system/carbon-websi…
Browse files Browse the repository at this point in the history
…te into codesandbox-dataviz
  • Loading branch information
theiliad committed Apr 9, 2020
2 parents 5d0e2a7 + b5035fe commit c4c8869
Show file tree
Hide file tree
Showing 567 changed files with 4,549 additions and 5,903 deletions.
23 changes: 8 additions & 15 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
{
"extends": ["eslint-config-carbon"],
"plugins": ["react-hooks"],
"rules": {
"react/prop-types": 0,
"react/forbid-prop-types": 0,
"arrow-body-style": 0,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"extends": ["wesbos"],
"globals": {
"fathom": "readonly"
},
"settings": {
"import/resolver": {
"node": {
"paths": "src"
}
}
"rules": {
"react/prop-types": 0,
"react/destructuring-assignment": 0,
"react/no-access-state-in-setstate": 0,
"react/jsx-props-no-spreading": 0,
"react/state-in-constructor": ["error", "never"],
"no-useless-escape": 0
}
}
22 changes: 11 additions & 11 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
*.mdx @carbon-design-system/developers-system @carbon-design-system/content

# Vikki Paterson is code owner for Experimental IDE patterns
src/pages/experimental/create-flows/* @vikkipaterson
src/pages/experimental/delete-pattern/* @vikkipaterson
src/pages/experimental/export-pattern/* @vikkipaterson
src/pages/experimental/generate-an-api-key/* @vikkipaterson
src/pages/experimental/import-pattern/* @vikkipaterson
src/pages/experimental/remove-pattern/* @vikkipaterson
src/pages/community/patterns/create-flows/* @vikkipaterson
src/pages/community/patterns/delete-pattern/* @vikkipaterson
src/pages/community/patterns/export-pattern/* @vikkipaterson
src/pages/community/patterns/generate-an-api-key/* @vikkipaterson
src/pages/community/patterns/import-pattern/* @vikkipaterson
src/pages/community/patterns/remove-pattern/* @vikkipaterson

# Vincent Snagg is code owner for Experimental Watson Health patterns
src/pages/experimental/chatbot/* @vincentsnagg
src/pages/community/patterns/chatbot/* @vincentsnagg

# Adriana Morales is code owner for Experimental Cloud PAL patterns
src/pages/experimental/order-summary-template/* @adrianamorales
src/pages/experimental/cards/* @adrianamorales
src/pages/experimental/dashboard-widgets/* @adrianamorales
src/pages/community/patterns/order-summary-template/* @adrianamorales
src/pages/community/patterns/cards/* @adrianamorales
src/pages/community/patterns/dashboard-widgets/* @adrianamorales

# Chris Reckling is the code owner for Experimental IoT patterns
src/pages/experimental/login-pattern/* @creckling
src/pages/community/patterns/login-pattern/* @creckling

# Eliad Moosavi and Natasha Decoste are the code owners for Data Visualization
src/pages/data-visualization/* @theiliad @natashadecoste
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/accessibility-issue.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Accessibility issue ♿
about: Report an accessibility or usability issue
title: ''
labels: 'type: a11y ♿'
assignees: ''
title: ""
labels: "type: a11y ♿"
assignees: ""
---

<!-- Feel free to remove sections that aren't relevant.
Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: 'Bug report 🐛'
name: "Bug report 🐛"
about: Create a report to help us improve
title: ''
labels: 'type: bug 🐛'
assignees: ''
title: ""
labels: "type: bug 🐛"
assignees: ""
---

<!-- Feel free to remove sections that aren't relevant.
Expand Down
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: 'Feature request 💡'
name: "Feature request 💡"
about: Suggest an idea for this project
title: ''
labels: 'type: enhancement 💡'
assignees: ''
title: ""
labels: "type: enhancement 💡"
assignees: ""
---

Use this template if you want to request a new feature, or a change to an existing feature.
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feedback.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Website feedback
about: User feedback collected from the Carbon Design System Website.
labels: 'type: discussion 💬'
assignees: ''
labels: "type: discussion 💬"
assignees: ""
---

<!--
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Question ❓
about: Usage question or discussion about the Carbon Design System Website.
title: ''
labels: 'type: question ❓'
assignees: ''
title: ""
labels: "type: question ❓"
assignees: ""
---

<!--
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
- name: Install
run: yarn install

- name: Build
run: yarn build

- name: Install ibmcloud cli
run: |
curl -fsSL https://clis.cloud.ibm.com/install/osx | sh
- name: Install IBM Cloud CLI
run: curl -fsSL https://clis.cloud.ibm.com/install/osx | sh
- name: Install Cloud Foundry CLI
run: ibmcloud cf install
- name: Login to ibmcloud
env:
API_KEY: ${{ secrets.API_KEY }}
Expand Down
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"prettier.disableLanguages": ["javascript", "javascriptreact"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
12 changes: 12 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "lint:js",
"problemMatcher": ["$eslint-stylish"]
}
]
}
Loading

0 comments on commit c4c8869

Please sign in to comment.