Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
925b5e0
update theme to the new design
krystiandeity Dec 21, 2021
223668d
Merge branch 'master' into update-documentation
krystiandeity Dec 21, 2021
8dfb63b
add styles to the version dropdown
krystiandeity Dec 22, 2021
03c60d1
add mobile menu to the page, add tooltips to the changelog page
krystiandeity Dec 23, 2021
e92814d
fix link icon svg file
krystiandeity Dec 23, 2021
6451051
Fix SSR issue
mateuszwozniak Dec 23, 2021
5c9c284
add dark mode logos
krystiandeity Dec 23, 2021
6d1b997
Merge branch 'update-documentation' of github.com:deity-io/falcon-pla…
krystiandeity Dec 23, 2021
f4da3ea
Add .npmrc so build can download @deity/eslint-config-falcon
mateuszwozniak Dec 23, 2021
2ee501d
Merge branch 'update-documentation' of github.com:deity-io/falcon-pla…
mateuszwozniak Dec 23, 2021
3c71341
Remove @deity/eslint-config-falcon as Netlify cannot use NPM_TOKEN fr…
mateuszwozniak Dec 23, 2021
5b1dccd
add active link style to the dark mode sidebar menu
krystiandeity Dec 23, 2021
73e06fd
add modal and checkbox components, add modal to the changelog subscri…
krystiandeity Dec 30, 2021
4ff9707
disable falcon-ui
krystiandeity Dec 30, 2021
89871d5
downgrade docusaurus version
krystiandeity Dec 30, 2021
d6f8e61
change node version
krystiandeity Dec 30, 2021
ddc1c4a
fix sidebar styles in preview
krystiandeity Dec 30, 2021
03c9f4d
upgrade docusaurus to beta v14
krystiandeity Dec 30, 2021
11b2c60
add urls to the links
krystiandeity Dec 31, 2021
8ebd8b3
add missing import
krystiandeity Dec 31, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
246 changes: 246 additions & 0 deletions .eslint-config-falcon-2-7-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier"
],
"plugins": [
"react",
"react-hooks",
"import",
"prettier",
"jsdoc",
"jsx-a11y"
],
"settings": {
"import/parser": "babel-eslint",
"import/resolver": {
"node": true
},
"jsdoc": {
"ignorePrivate": true,
"ignoreInternal": true,
"tagNamePreference": {
"return": "returns"
}
}
},
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
"arrow-body-style": [
"warn",
"as-needed"
],
"no-useless-constructor": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"global-require": "off",
"max-classes-per-file": "off",
"import/default": "off",
"import/extensions": [
"off",
"never"
],
"import/no-duplicates": [
"error"
],
"import/named": "off",
"import/namespace": "off",
"import/no-unresolved": "off",
"import/no-named-as-default": "error",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"import/order": [
"error",
{
"newlines-between": "never",
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
"object"
]
}
],
"import/prefer-default-export": "off",
"jsx-a11y/anchor-is-valid": [
"off",
{
"components": [
"Link"
]
}
],
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/label-has-associated-control": [
2,
{
"labelComponents": [
"Label"
],
"controlComponents": [
"Input",
"InputElement",
"Checkbox",
"NumberInput",
"Radio",
"RangeInput"
],
"assert": "htmlFor",
"depth": 3
}
],
"linebreak-style": [
"error",
"unix"
],
"no-alert": "off",
"no-console": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"one-var": "off",
"prefer-destructuring": [
"error",
{
"array": false,
"object": true
},
{
"enforceForRenamedProperties": false
}
],
"prettier/prettier": [
"error",
{
"tabWidth": 2,
"singleQuote": true,
"printWidth": 120,
"trailingComma": "none",
"arrowParens": "avoid"
}
],
"react/jsx-filename-extension": [
"warn",
{
"extensions": [
".js",
".jsx",
".tsx"
]
}
],
"react/jsx-one-expression-per-line": "off",
"react/jsx-wrap-multilines": [
"warn",
{
"prop": "ignore"
}
],
"react/no-danger": "off",
"react/no-multi-comp": "off",
"react/require-default-props": [
"off"
],
"react/no-access-state-in-setstate": "error",
"react/prop-types": "off",
"react/default-props-match-prop-types": "warn",
"react/forbid-prop-types": "off",
"react/destructuring-assignment": "off",
"react/jsx-props-no-spreading": "off",
"react/static-property-placement": "off",
"react/jsx-curly-newline": "off",
"react/state-in-constructor": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"jsdoc/check-alignment": "warn",
"jsdoc/check-indentation": "off",
"jsdoc/check-param-names": "warn",
"jsdoc/check-syntax": "warn",
"jsdoc/check-tag-names": "warn",
"jsdoc/check-types": "warn",
"jsdoc/require-hyphen-before-param-description": [
"warn",
"never"
],
"jsdoc/newline-after-description": [
"warn",
"never"
],
"jsdoc/require-param": [
"warn",
{
"enableFixer": false
}
],
"jsdoc/require-param-name": "warn",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-check": "warn",
"jsdoc/require-returns-type": "off"
},
"globals": {
"__DEVELOPMENT__": true,
"__CLIENT__": true,
"__SERVER__": true,
"__DEVTOOLS__": true,
"socket": true,
"webpackIsomorphicTools": true
},
"overrides": [
{
"files": [
"**/*.ts",
"**/*.tsx"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
"lines-between-class-members": "off",
"@typescript-eslint/lines-between-class-members": [
"error",
"always",
{
"exceptAfterOverload": true
}
],
"@typescript-eslint/no-redeclare": [
"error"
],
"@typescript-eslint/no-shadow": [
"error"
],
"no-dupe-class-members": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-restricted-globals": "off",
"no-redeclare": "off",
"no-shadow": "off",
"react/prefer-stateless-function": "off",
"react/react-in-jsx-scope": "off",
"no-use-before-define": "off",
"no-continue": "off",
"dot-notation": "off",
"react/prop-types": "off",
"import/prefer-default-export": "off",
"jsdoc/require-param": "off",
"jsdoc/require-param-name": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-param-description": "off",
"jsdoc/require-returns-check": "off",
"jsdoc/require-returns-type": "off"
}
}
]
}
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules/
build/
.docusaurus/
prettier.config.js
src/components/Intercom/Chat.tsx
src/theme/DocSidebarItem/DocSidebarItemCategory.tsx
55 changes: 31 additions & 24 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
{
"env": {
"browser": true,
"es6": true
"env": {
"browser": true,
"es6": true,
"serviceworker": true
},
"extends": "./.eslint-config-falcon-2-7-23.json",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
}
}
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"no-use-before-define": "off",
"import/newline-after-import": "off",
"no-return-await": "off",
"import/order": [
"error",
{
"newlines-between": "never",
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"]
}
]
}
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.16.0
v14.18.2
Loading