mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-20 11:35:02 +02:00
🚀 feat(_route): add dev to origin
This commit is contained in:
1
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint
generated
vendored
Symbolic link
1
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint
generated
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
../../eslint@9.17.0_jiti@1.21.7/node_modules/eslint
|
21
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/LICENSE
generated
vendored
Normal file
21
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
75
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/README.md
generated
vendored
Normal file
75
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/README.md
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
# `eslint-plugin-react-hooks`
|
||||
|
||||
This ESLint plugin enforces the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks).
|
||||
|
||||
It is a part of the [Hooks API](https://react.dev/reference/react/hooks) for React.
|
||||
|
||||
## Installation
|
||||
|
||||
**Note: If you're using Create React App, please use `react-scripts` >= 3 instead of adding it directly.**
|
||||
|
||||
Assuming you already have ESLint installed, run:
|
||||
|
||||
```sh
|
||||
# npm
|
||||
npm install eslint-plugin-react-hooks --save-dev
|
||||
|
||||
# yarn
|
||||
yarn add eslint-plugin-react-hooks --dev
|
||||
```
|
||||
|
||||
Then extend the recommended eslint config:
|
||||
|
||||
```js
|
||||
{
|
||||
"extends": [
|
||||
// ...
|
||||
"plugin:react-hooks/recommended"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Custom Configuration
|
||||
|
||||
If you want more fine-grained configuration, you can instead add a snippet like this to your ESLint configuration file:
|
||||
|
||||
```js
|
||||
{
|
||||
"plugins": [
|
||||
// ...
|
||||
"react-hooks"
|
||||
],
|
||||
"rules": {
|
||||
// ...
|
||||
"react-hooks/rules-of-hooks": "error",
|
||||
"react-hooks/exhaustive-deps": "warn"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Advanced Configuration
|
||||
|
||||
`exhaustive-deps` can be configured to validate dependencies of custom Hooks with the `additionalHooks` option.
|
||||
This option accepts a regex to match the names of custom Hooks that have dependencies.
|
||||
|
||||
```js
|
||||
{
|
||||
"rules": {
|
||||
// ...
|
||||
"react-hooks/exhaustive-deps": ["warn", {
|
||||
"additionalHooks": "(useMyCustomHook|useMyOtherCustomHook)"
|
||||
}]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
We suggest to use this option **very sparingly, if at all**. Generally saying, we recommend most custom Hooks to not use the dependencies argument, and instead provide a higher-level API that is more focused around a specific use case.
|
||||
|
||||
## Valid and Invalid Examples
|
||||
|
||||
Please refer to the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks) documentation to learn more about this rule.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
9
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/index.js
generated
vendored
Normal file
9
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
// TODO: this doesn't make sense for an ESLint rule.
|
||||
// We need to fix our build process to not create bundles for "raw" packages like this.
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/eslint-plugin-react-hooks.production.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/eslint-plugin-react-hooks.development.js');
|
||||
}
|
17
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint
generated
vendored
Executable file
17
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/node_modules/.bin/eslint
generated
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -z "$NODE_PATH" ]; then
|
||||
export NODE_PATH="/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/eslint@9.17.0_jiti@1.21.7/node_modules/eslint/bin/node_modules:/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/eslint@9.17.0_jiti@1.21.7/node_modules/eslint/node_modules:/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/eslint@9.17.0_jiti@1.21.7/node_modules:/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/node_modules"
|
||||
else
|
||||
export NODE_PATH="/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/eslint@9.17.0_jiti@1.21.7/node_modules/eslint/bin/node_modules:/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/eslint@9.17.0_jiti@1.21.7/node_modules/eslint/node_modules:/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/eslint@9.17.0_jiti@1.21.7/node_modules:/home/whoami/Desktop/snigdhaos-web-dev/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||||
fi
|
||||
if [ -x "$basedir/node" ]; then
|
||||
exec "$basedir/node" "$basedir/../../../../../eslint@9.17.0_jiti@1.21.7/node_modules/eslint/bin/eslint.js" "$@"
|
||||
else
|
||||
exec node "$basedir/../../../../../eslint@9.17.0_jiti@1.21.7/node_modules/eslint/bin/eslint.js" "$@"
|
||||
fi
|
43
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/package.json
generated
vendored
Normal file
43
node_modules/.pnpm/eslint-plugin-react-hooks@5.1.0_eslint@9.17.0_jiti@1.21.7_/node_modules/eslint-plugin-react-hooks/package.json
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "5.1.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
"directory": "packages/eslint-plugin-react-hooks"
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"index.js",
|
||||
"cjs"
|
||||
],
|
||||
"keywords": [
|
||||
"eslint",
|
||||
"eslint-plugin",
|
||||
"eslintplugin",
|
||||
"react"
|
||||
],
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/react/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"homepage": "https://react.dev/",
|
||||
"peerDependencies": {
|
||||
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/eslint-parser": "^7.11.4",
|
||||
"@typescript-eslint/parser-v2": "npm:@typescript-eslint/parser@^2.26.0",
|
||||
"@typescript-eslint/parser-v3": "npm:@typescript-eslint/parser@^3.10.0",
|
||||
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@^4.1.0",
|
||||
"@typescript-eslint/parser-v5": "npm:@typescript-eslint/parser@^5.0.0-0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"eslint-v7": "npm:eslint@^7.7.0",
|
||||
"eslint-v9": "npm:eslint@^9.0.0"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user