Download next.js/lint-staged.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/lint-staged.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/lint-staged.config.js
-
curl -L -o lint-staged.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/lint-staged.config.js
383 Bytes
| module.exports = { | |
| '*.{js,jsx,mjs,ts,tsx,mts,mdx}': [ | |
| 'prettier --with-node-modules --ignore-path .prettierignore --write', | |
| 'cross-env ESLINT_USE_FLAT_CONFIG=false eslint --config .eslintrc.json --no-eslintrc --fix', | |
| ], | |
| '*.{json,md,css,html,yml,yaml,scss}': [ | |
| 'prettier --with-node-modules --ignore-path .prettierignore --write', | |
| ], | |
| '*.rs': ['cargo fmt --'], | |
| } | |