HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/tana/frontend/node_modules/nunjucks/.eslintrc.js
module.exports = {
  'extends': [
    'airbnb-base/legacy',
  ],
  'parserOptions': {
    'sourceType': 'module',
    'ecmaVersion': 2017,
  },
  'env': {
    'node': true,
    'es6': true,
  },
  "rules": {
    // The one assertion of personal preference: no spaces before parentheses
    // of anonymous functions
    'space-before-function-paren': ['error', {
      anonymous: 'never',
      named: 'never',
      asyncArrow: 'always',
    }],
    // Temporarily disabled rules
    //
    // no-use-before-define is a good rule, but it would make the diff for
    // linting the code even more inscrutible than it already is.
    'no-use-before-define': 'off',
    // Relax some rules
    'no-cond-assign': ['error', 'except-parens'],
    'no-unused-vars': ['error', {
      'args': 'none',
    }],
    // Disable some overly-strict airbnb style rules
    'no-underscore-dangle': 'off',
    'no-param-reassign': 'off',
    'class-methods-use-this': 'off',
    'function-paren-newline': 'off',
    'no-plusplus': 'off',
    'object-curly-spacing': 'off',
    'no-multi-assign': 'off',
    'no-else-return': 'off',
    // While technically useless from the point of view of the regex parser,
    // escaping characters inside character classes is more consistent. I
    // would say that they make the regular expression more readable, if the
    // idea of readable regular expressions wasn't absurd on its face.
    'no-useless-escape': 'off',
    // I'm inclined to reverse this rule to be ['error', 'always'], but not just yet
    // IE 8 is a thing of the past and trailing commas are useful.
    'comma-dangle': 'off',
  },
  'globals': {
    'nunjucks': false,
  },
};