403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/node_modules/lighthouse/node_modules/resolve/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/node_modules/lighthouse/node_modules/resolve/eslint.config.mjs
import ljharb from '@ljharb/eslint-config/flat';

export default [
	...ljharb,
	{
		ignores: [
			'test/resolver/malformed_package_json/package.json',
			'test/list-exports/**',
		],
	},
	{
		rules: {
			'array-bracket-newline': 'off',
			complexity: 'off',
			'consistent-return': 'off',
			curly: 'off',
			'dot-notation': ['error', { allowKeywords: true }],
			'func-name-matching': 'off',
			'func-style': 'off',
			'global-require': 'warn',
			'id-length': ['error', { min: 1, max: 40 }],
			'max-depth': 'off',
			'max-lines-per-function': 'off',
			'max-lines': 'off',
			'max-nested-callbacks': 'off',
			'max-params': 'off',
			'max-statements-per-line': ['error', { max: 2 }],
			'max-statements': 'off',
			'multiline-comment-style': 'off',
			'no-magic-numbers': 'off',
			'no-shadow': 'off',
			'no-use-before-define': 'off',
			'sort-keys': 'off',
			strict: 'off',
		},
	},
	{
		files: ['**/*.js'],
		rules: {
			indent: ['error', 4],
		},
	},
	{
		files: ['bin/**'],
		rules: {
			'no-process-exit': 'off',
		},
	},
	{
		files: ['example/**'],
		rules: {
			'no-console': 'off',
		},
	},
	{
		files: ['test/resolver/nested_symlinks/mylib/*.js'],
		rules: {
			'no-throw-literal': 'off',
		},
	},
	{
		files: ['test/**'],
		languageOptions: {
			ecmaVersion: 5,
			parserOptions: {
				allowReserved: false,
			},
		},
		rules: {
			'dot-notation': ['error', { allowPattern: 'throws' }],
			'max-lines': 'off',
			'max-lines-per-function': 'off',
			'no-unused-vars': ['error', {
				vars: 'all',
				args: 'none',
				caughtErrors: 'none',
			}],
		},
	},
];

Youez - 2016 - github.com/yon3zu
LinuXploit