| Server IP : 178.212.43.201 / Your IP : 10.100.0.33 Web Server : Apache/2.4.37 (Oracle Linux Server) OpenSSL/1.1.1k System : Linux spa0007.srv.paxillus.pl 5.4.17-2136.355.3.1.el8uek.x86_64 #3 SMP Sat May 9 17:11:55 PDT 2026 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/suzuki/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/",
],
},
];