Skip to content

Instantly share code, notes, and snippets.

@akashdktyagi
Created January 16, 2024 10:12
Show Gist options
  • Save akashdktyagi/f2cd12fd2ed118fffeeed4b560335f61 to your computer and use it in GitHub Desktop.
Save akashdktyagi/f2cd12fd2ed118fffeeed4b560335f61 to your computer and use it in GitHub Desktop.
use echo to create or modify an existing file in linux
echo "
---
- nodejs-extensions:
- .js
template-extensions:
- .new
- .hbs
- ''
ignore-filenames:
- skip.js
- Jenkinsfile
ignore-paths:
- __MACOSX
- skip_dir
- node_modules
- venv
ignore-extensions:
- .jsx
ignore-rules:
- regex_injection_dos
- pug_jade_template
severity-filter:
- WARNING
- ERROR
" > .njsscan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment