Initial commit: StreamFlow IPTV platform

This commit is contained in:
aiulian25 2025-12-17 00:42:43 +00:00
commit 73a8ae9ffd
1240 changed files with 278451 additions and 0 deletions

41
frontend/.eslintrc.js Normal file
View file

@ -0,0 +1,41 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:security/recommended',
],
plugins: ['react', 'react-hooks', 'security'],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
settings: {
react: {
version: 'detect',
},
},
rules: {
// Security rules
'security/detect-object-injection': 'warn',
'security/detect-non-literal-regexp': 'warn',
'security/detect-unsafe-regex': 'error',
'security/detect-eval-with-expression': 'error',
// React rules
'react/prop-types': 'off',
'react/react-in-jsx-scope': 'off',
// Best practices
'no-console': 'warn',
'no-eval': 'error',
'no-implied-eval': 'error',
},
};