Download wp-calypso/client/server/.eslintrc.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 425 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/server/.eslintrc.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/server/.eslintrc.js
-
curl -L -o .eslintrc.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/server/.eslintrc.js
425 Bytes
| const { rules: parentRules } = require( '../../.eslintrc.js' ); | |
| const newRestrictedImports = parentRules[ 'no-restricted-imports' ]; | |
| const filteredRestrictedPaths = newRestrictedImports[ 1 ].paths.filter( | |
| ( path ) => 'object' !== typeof path || 'superagent' !== path.name | |
| ); | |
| module.exports = { | |
| rules: { | |
| 'no-restricted-imports': [ | |
| newRestrictedImports[ 0 ], | |
| { | |
| paths: filteredRestrictedPaths, | |
| }, | |
| ], | |
| }, | |
| }; | |