| Server IP : 77.68.64.20 / Your IP : 216.73.217.31 Web Server : Apache System : Linux hp3-wp-1011317.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els8.x86_64 #1 SMP Sun Jul 5 17:25:39 UTC 2026 x86_64 User : csh2392878 ( 2033753) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/domains/vol1/746/2880746/user/htdocs/wp-content/plugins/themeisle-companion/ |
Upload File : |
const js = require("@eslint/js");
const react = require("eslint-plugin-react");
const reactHooks = require("eslint-plugin-react-hooks");
const importPlugin = require("eslint-plugin-import");
module.exports = [
{
files: ["dashboard/**/*.{js,jsx}", "obfx_modules/**/*.{js,jsx}"],
languageOptions: {
ecmaVersion: 2020,
sourceType: "module",
parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},
...js.configs.recommended,
plugins: {
react,
"react-hooks": reactHooks,
import: importPlugin,
},
settings: {
react: {
version: "detect",
},
"import/resolver": {
webpack: {
config: "wp-scripts.config.js",
},
typescript: {
alwaysTryTypes: true,
},
node: {
extensions: [".js", ".jsx"],
},
},
},
rules: {
...react.configs.recommended.rules,
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
indent: ["error", 2],
},
},
{
ignores: [
"node_modules/",
"build/",
"*.json",
"wp-scripts.config.js",
"webpack.config.js",
"*.config.js",
"vendor/",
],
},
];