Skip to content

Commit

Permalink
🎸 feat: New documentation in form of docusaurus website (#230)
Browse files Browse the repository at this point in the history
* 🎸  feat: New documentation in form of docusaurus website
  • Loading branch information
jsimck authored Jul 28, 2022
1 parent 20b108f commit b305a86
Show file tree
Hide file tree
Showing 401 changed files with 21,374 additions and 48,402 deletions.
25 changes: 23 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ module.exports = {
ignorePatterns: [
'**/node_modules/**',
'**/dist/**',
'**/build/**',
'**/docs/**',
'**/.turbo/**',
'**/.docusaurus/**',
'**/coverage/**',
'packages/create-ima-app/examples/todos/assets/**',
],
Expand Down Expand Up @@ -84,6 +87,7 @@ module.exports = {
// Import plugin
{
files: [
'website/**',
'packages/cli/**',
'packages/devtools/**',
'packages/devtools-scripts/**',
Expand All @@ -93,14 +97,22 @@ module.exports = {
],
extends: ['plugin:import/recommended'],
rules: {
'import/no-unresolved': ['warn', { ignore: ['^@\\/'] }], // ignore @/* aliases
'import/no-unresolved': [
'warn',
{
ignore: [
'^@\\/', // ignore @/* aliases
'@(docusaurus|theme)',
],
},
],
'import/order': [
'error',
{
groups: ['builtin', 'external', 'internal'],
pathGroups: [
{
pattern: '{preact|react|svelte}{/**,**}',
pattern: '{preact|react|svelte|docusaurus|theme}{/**,**}',
group: 'external',
position: 'before',
},
Expand Down Expand Up @@ -152,9 +164,18 @@ module.exports = {
],
},
},
// Website/docs overrides
{
files: ['website/**'],
rules: {
'react/react-in-jsx-scope': 'error',
'react/jsx-uses-react': 'error',
},
},
// Other overrides
{
files: [
'website/scripts/**',
'packages/cli/**',
'packages/dev-utils/**',
'packages/create-ima-app/**',
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ lerna-debug.log
jsconfig.json
ima-app
storage
docs/api
3 changes: 0 additions & 3 deletions docs/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion docs/CNAME

This file was deleted.

18 changes: 0 additions & 18 deletions docs/_config.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/_data/common.json

This file was deleted.

54 changes: 0 additions & 54 deletions docs/_data/devtool-colors.json

This file was deleted.

Loading

0 comments on commit b305a86

Please sign in to comment.