This file contains hidden or 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
| #!/bin/sh | |
| file="$1" | |
| # Check if file exists | |
| if [ ! -f "$file" ]; then | |
| echo "Error: File '$file' not found" >&2 | |
| exit 1 | |
| fi | |
| # Change to directory containing the file |
This file contains hidden or 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
| #!/bin/sh | |
| for arg in "$@" | |
| do | |
| if [ "$arg" = "-selection" ] | |
| then | |
| echo "Error: -selection argument is not allowed in this xclip wrapper. Use xclip directly instead." >&2 | |
| exit 1 | |
| elif [ "$arg" = "-h" -o "$arg" = "-help" ] | |
| then |
This file contains hidden or 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
| module.exports = { | |
| "env": { | |
| "browser": true, | |
| "commonjs": true, | |
| "es6": true, | |
| }, | |
| "extends": "eslint:recommended", | |
| "parserOptions": { | |
| "ecmaVersion": 2017, | |
| }, |
This file contains hidden or 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
Show hidden characters
| { | |
| "defaultSeverity": "error", | |
| "extends": [ | |
| "tslint:recommended" | |
| ], | |
| "jsRules": {}, | |
| "rules": { | |
| "semicolon": [true, "never"], | |
| "quotemark": [true, "single"], | |
| "only-arrow-functions": false, |
NewerOlder