| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/iticsl.com/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/",
],
},
];