mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 02:44:01 +00:00
* Refactor Home component * Refactor Welcome * Refactor small components * Refactor Nav component * refactor Settings * Refactor Chat * Refactor New message notifications * Fix tests * Remove tooltip * Remove react-simple-dropdown * Change to last redux * Switch to redux hooks * Add github action
27 lines
648 B
JavaScript
27 lines
648 B
JavaScript
module.exports = {
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:react/jsx-runtime',
|
|
'plugin:react-hooks/recommended'
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint'],
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
},
|
|
settings: {
|
|
react: {
|
|
pragma: 'React', // Pragma to use, default to "React"
|
|
version: 'detect', // React version. "detect" automatically picks the version you have installed.
|
|
},
|
|
},
|
|
rules: {
|
|
"react/prop-types": "off",
|
|
"@typescript-eslint/no-empty-function": "off"
|
|
}
|
|
};
|