-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from BipanKishore/resizable-panes-js-init
resizable-panes-js-init
- Loading branch information
Showing
28 changed files
with
1,231 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-typescript", "@babel/preset-env", "@babel/preset-react" | ||
], | ||
"plugins": [["istanbul", { | ||
"exclude": ["cypress", "src/utils/development-util"] | ||
}]] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
REACT_LIB_OPTIMIZE=TRUE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
|
||
REACT_LIB_OPTIMIZE=FALSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
|
||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"root": true, | ||
"extends": [ | ||
"eslint:recommended", | ||
"standard", | ||
"standard-react", | ||
"plugin:react-hooks/recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"react", | ||
"sort-keys-fix", | ||
"simple-import-sort", | ||
"react-hooks", | ||
"@typescript-eslint"], | ||
"rules": { | ||
"@typescript-eslint/ban-ts-comment":"warn", | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"space-infix-ops": "error", | ||
"camelcase": ["error", {"allow": ["^UNSAFE_"]}], | ||
"complexity": ["error", 5], | ||
"max-len": ["error", { | ||
"code": 120, | ||
"tabWidth": 2 | ||
}], | ||
"no-unused-expressions": ["error", { | ||
"allowTernary": true | ||
}], | ||
"no-var": "error", | ||
"object-curly-spacing": ["error", "never"], | ||
"react/default-props-match-prop-types": "error", | ||
"react/no-unused-prop-types": "off", // gives false positives | ||
"react/jsx-closing-bracket-location": "error", | ||
"react/jsx-closing-tag-location": "error", | ||
"react/jsx-first-prop-new-line": ["error", "multiline"], | ||
"react/jsx-indent-props": ["error", 2], | ||
"react/jsx-indent": ["error", 2], | ||
"react/jsx-no-duplicate-props": "error", | ||
"react/jsx-sort-props": ["error", { | ||
"callbacksLast": true | ||
}], | ||
"react/sort-prop-types": ["error", { | ||
"callbacksLast": true, | ||
"sortShapeProp": true | ||
}], | ||
"valid-jsdoc": ["error", { | ||
"prefer": { | ||
"virtual": "abstract", | ||
"extends": "augments", | ||
"constructor": "class", | ||
"const": "constant", | ||
"defaultValue": "default", | ||
"desc": "description", | ||
"host": "external", | ||
"fileoverview": "file", | ||
"emits": "fires", | ||
"func": "function", | ||
"method": "function", | ||
"var": "member", | ||
"arg": "param", | ||
"argument": "param", | ||
"return": "returns", | ||
"exception": "throws" | ||
}, | ||
"requireReturn": false | ||
}], | ||
"no-fallthrough": 0 | ||
}, | ||
"reportUnusedDisableDirectives": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
#/coverage | ||
#/.nyc_output | ||
|
||
/cypress/screenshots | ||
/cypress/downloads | ||
/coverage | ||
/.nyc_output | ||
|
||
# production | ||
/lib | ||
|
||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
|
||
/configs | ||
/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "@istanbuljs/nyc-config-typescript", | ||
"all": true, | ||
"check-coverage": true, | ||
"lines": 99.5, | ||
"include": ["src"], | ||
"exclude": ["src/@types", "src/utils/development-util"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
ISC License | ||
|
||
Copyright (c) 2023 Bipan Kishore Sharma | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. |
Oops, something went wrong.