Skip to content

Commit

Permalink
init website for debug, update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kelreel committed Oct 22, 2022
1 parent 1e0c843 commit 8b58ca0
Show file tree
Hide file tree
Showing 17 changed files with 32,361 additions and 2,043 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist/*
.eslintrc.js
.jest.config.js
rollup.config.js
/website/dist
78 changes: 12 additions & 66 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,72 +1,18 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
},
extends: [
'airbnb',
'prettier',
'plugin:@typescript-eslint/recommended',
],
plugins: [
'prettier',
'@typescript-eslint',
],
root: true,
env: {
es6: true
},
settings: {
'import/resolver': {
node: {
extensions: ['.ts','.js'],
},
},
browser: true,
node: true,
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'react-hooks'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
rules: {
'no-plusplus': 0,
'no-console': 0,
'no-continue': 0,
'spaced-comment': 0,
'no-restricted-globals': 0,
'prettier/prettier': 1,
'consistent-return': 0,
'no-nested-ternary': 0,
'no-unused-expressions': 0,
'no-param-reassign': 0,
'import/no-unresolved': 0,
'no-bitwise': 0,
'no-shadow': 0,
'default-case': 0,
'no-restricted-syntax': 0,
'dot-notation': 0,
'prefer-template': 0,
'newline-before-return': 0,
'no-return-assign': 0,
'class-methods-use-this': 0,
'@typescript-eslint/ban-ts-ignore': 0,
'@typescript-eslint/no-use-before-define': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-non-null-assertion': 0,
'import/no-default-export': 2,
'import/no-self-import': 2,
'import/no-named-as-default': 2,
'arrow-body-style': 2,
'import/prefer-default-export': 0,
'import/no-extraneous-dependencies': 0,
'@typescript-eslint/no-empty-function': 0,
'@typescript-eslint/ban-types': 1,
'@typescript-eslint/ban-ts-comment': 1,
'no-use-before-define': 0,
'no-debugger': 1,
'no-template-curly-in-string': 0,
'import/extensions': [
'error',
'ignorePackages',
{
ts: 'never',
},
],
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-empty-function': 'off',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
},
};
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ temp
src/__dev
/dist/__dev/
/dist/__run.d.ts
/website/dist
.parcel-cache
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ src/__dev
/dist/__run.d.ts
docs/
.github/
website

.editorconfig
tsconfig.json
Expand Down
18 changes: 0 additions & 18 deletions dist/index.d.ts

This file was deleted.

88 changes: 43 additions & 45 deletions dist/index.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.esm.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b58ca0

Please sign in to comment.