diff options
author | w0rp <devw0rp@gmail.com> | 2017-12-02 12:26:30 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-12-02 12:26:44 +0000 |
commit | f5fc746d00a8b8e0aaac1904ce97ad7eb52e1b24 (patch) | |
tree | 714ff39a424d158e22fcf26e28bc8b36091756e8 /doc | |
parent | 83760a09521b134497c5d3299cc9962cff8ab76e (diff) | |
download | ale-f5fc746d00a8b8e0aaac1904ce97ad7eb52e1b24.zip |
Fix #1186 - Use -w by default for Perl, which does not execute code
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-perl.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt index 7611d30f..7142d241 100644 --- a/doc/ale-perl.txt +++ b/doc/ale-perl.txt @@ -16,11 +16,15 @@ g:ale_perl_perl_executable *g:ale_perl_perl_executable* g:ale_perl_perl_options *g:ale_perl_perl_options* *b:ale_perl_perl_options* Type: |String| - Default: `'-c -Mwarnings -Ilib'` + Default: `'-w -Mwarnings -Ilib'` This variable can be changed to alter the command-line arguments to the perl invocation. + Perl code is checked with `-w` by default, because `-c` can execute + malicious code. You can use the `-c` option at your own risk. See + |g:ale_pattern_options| for changing the option only for specific files. + =============================================================================== perlcritic *ale-perl-perlcritic* |