Skip to content

Commit

Permalink
chore: add eslint with carbon config (#84)
Browse files Browse the repository at this point in the history
* chore: add eslint with carbon config

* chore: update lock file

* chore: lock file update

* fix: command line for lint script

* feat: add linter to ci-check

* chore: ci-check workflow lint

* fix: update ch-check.yml

* fix: lint script

* fix: linter errors

Co-authored-by: Lee Chase <[email protected]>
  • Loading branch information
lee-chase and lee-chase authored Sep 11, 2020
1 parent 08142c9 commit 2a3d6af
Show file tree
Hide file tree
Showing 685 changed files with 1,995 additions and 2,964 deletions.
22 changes: 22 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Build folders
/build
packages/*/build/
packages/*/examples/*/build/
es
lib
dist
umd

node_modules
packages/*/examples/*

**/node_modules/**

# Sketch
*.sketchplugin

# Upgrade
**/__testfixtures__/**

# React
**/storybook-static/**
4 changes: 4 additions & 0 deletions .github/workflows/ci-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
node-version: '12.x'
- name: Install dependencies
run: yarn install --offline
- name: Lint
run: yarn lint
- name: Test
run: yarn test --ci
- name: Build project
run: yarn build
- name: Run Continuous Integration checks
Expand Down
Binary file removed .yarn/offline-mirror/@babel-code-frame-7.10.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-code-frame-7.10.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-compat-data-7.10.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-core-7.10.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-core-7.10.5.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-core-7.11.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-core-7.9.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-generator-7.10.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-generator-7.10.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-generator-7.11.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-helper-regex-7.10.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-helpers-7.10.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-highlight-7.10.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-highlight-7.10.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-parser-7.10.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-parser-7.10.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-parser-7.11.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-preset-env-7.10.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-preset-env-7.11.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-preset-env-7.11.5.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-preset-flow-7.10.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-preset-modules-0.1.3.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-preset-react-7.10.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-register-7.10.5.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-register-7.11.5.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-runtime-7.10.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-runtime-7.10.3.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-standalone-7.10.5.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-template-7.10.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-template-7.10.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-traverse-7.10.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-traverse-7.10.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-traverse-7.11.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-types-7.10.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-types-7.10.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@babel-types-7.11.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-grid-10.10.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-grid-10.12.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-icons-react-10.11.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-icons-react-10.15.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-layout-10.13.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-layout-10.9.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-motion-10.7.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-motion-10.9.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-themes-10.12.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-themes-10.14.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@carbon-type-10.10.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@carbon-type-10.15.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@emotion-core-10.0.28.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@emotion-core-10.0.35.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@eslint-eslintrc-0.1.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-console-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-console-26.3.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-core-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-core-26.4.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-environment-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-environment-26.3.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-fake-timers-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-fake-timers-26.3.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-globals-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-globals-26.4.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-reporters-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-reporters-26.4.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-source-map-26.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-source-map-26.3.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-test-result-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-test-result-26.3.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-transform-26.0.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-types-26.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@mdx-js-loader-1.6.16.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@mdx-js-loader-1.6.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@mdx-js-mdx-1.6.16.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@mdx-js-mdx-1.6.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@mdx-js-react-1.6.16.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@mdx-js-react-1.6.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@mdx-js-util-1.6.16.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@mdx-js-util-1.6.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-endpoint-6.0.3.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@octokit-endpoint-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-request-5.4.5.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@octokit-request-5.4.8.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-rest-16.43.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@octokit-rest-16.43.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@octokit-types-5.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@octokit-types-5.4.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@reach-router-1.3.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@rollup-plugin-babel-5.0.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@sinonjs-commons-1.8.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@sinonjs-commons-1.8.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-addons-5.3.19.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@storybook-addons-5.3.21.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-addons-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-addons-6.0.7.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-api-5.3.19.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@storybook-api-5.3.21.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-api-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-api-6.0.7.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-channels-5.3.19.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-channels-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-channels-6.0.7.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-client-api-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-client-api-6.0.7.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@storybook-core-6.0.21.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-core-6.0.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@storybook-react-6.0.21.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-react-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-router-5.3.19.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-router-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-router-6.0.7.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-theming-5.3.19.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-theming-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-theming-6.0.7.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@storybook-ui-6.0.21.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@storybook-ui-6.0.6.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-babel__core-7.1.8.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-babel__core-7.1.9.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-estree-0.0.44.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-estree-0.0.45.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-glob-7.1.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-hast-2.3.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-history-4.7.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-history-4.7.7.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-json-schema-7.0.5.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-json-schema-7.0.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-json5-0.0.29.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-node-14.0.13.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-node-14.6.4.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-parse5-5.0.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-prettier-2.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-prettier-2.1.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-react-16.9.41.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-react-16.9.49.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-react-color-3.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-reactcss-1.2.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-resolve-0.0.8.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-resolve-1.17.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-uglify-js-3.9.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-uglify-js-3.9.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@types-webpack-4.41.17.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-webpack-4.41.22.tgz
Binary file not shown.
Loading

0 comments on commit 2a3d6af

Please sign in to comment.