@@ -31,20 +31,7 @@ module.exports = {
31
31
'react' ,
32
32
] ,
33
33
rules : {
34
- // 'no-console': 'off', // Warns about console.log statements
35
- // 'react/prop-types': 'off', // Turns off prop-types rule for React
36
34
'comma-dangle' : [ 'error' , 'always-multiline' ] , // Enforces trailing commas for multiline statements
37
- // 'prefer-const': 'error', // Requires that developers use const for variables that are never reassigned after declared
38
- // 'react/jsx-uses-react': 'error', // Prevents React to be incorrectly marked as unused
39
- // 'react/jsx-uses-vars': 'error', // Prevents variables used in JSX to be incorrectly marked as unused
40
- // 'react-hooks/rules-of-hooks': 'off', // Checks rules of Hooks
41
- // 'react-hooks/exhaustive-deps': 'off', // Checks effect dependencies
42
- // 'no-mixed-operators': 'off', // Allows mixed operators
43
- // 'no-void': 'off', // Allows void operator
44
- // 'no-return-assign': 'off', // Allows return statements to be used in the value position of assignments
45
- // 'no-unused-expressions': 'off', // Allows unused expressions
46
- // 'no-sequences': 'off', // Allows comma operator
47
- // 'no-var': 'off', // Requires that var is not used
48
35
'react/jsx-filename-extension' : [ 'warn' , { extensions : [ '.js' , '.jsx' ] } ] , // Enforces .jsx extension for JSX files
49
36
'react/react-in-jsx-scope' : 'off' , // Prevents React to be incorrectly marked as unused
50
37
} ,
0 commit comments