mirror of
https://github.com/mgerb/go-discord-bot
synced 2026-01-10 09:02:49 +00:00
finished ui for pubg
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
module.exports = {
|
||||
"env": {
|
||||
"browser": true,
|
||||
"commonjs": true,
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"installedESLint": true,
|
||||
"parserOptions": {
|
||||
"ecmaFeatures": {
|
||||
"experimentalObjectRestSpread": true,
|
||||
"jsx": true
|
||||
},
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": [
|
||||
"react"
|
||||
],
|
||||
"rules": {
|
||||
"indent": [
|
||||
"error",
|
||||
4
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
|
||||
"react/display-name": 0, // Prevent missing displayName in a React component definition
|
||||
"react/jsx-no-undef": 2, // Disallow undeclared variables in JSX
|
||||
"react/jsx-sort-props": 0, // Enforce props alphabetical sorting
|
||||
"react/jsx-uses-react": 2, // Prevent React to be incorrectly marked as unused
|
||||
"react/jsx-uses-vars": 2, // Prevent variables used in JSX to be incorrectly marked as unused
|
||||
"react/no-did-mount-set-state": 2, // Prevent usage of setState in componentDidMount
|
||||
"react/no-did-update-set-state": 2, // Prevent usage of setState in componentDidUpdate
|
||||
"react/no-multi-comp": 0, // Prevent multiple component definition per file
|
||||
"react/no-unknown-property": 2, // Prevent usage of unknown DOM property
|
||||
"react/prop-types": 2, // Prevent missing props validation in a React component definition
|
||||
"react/react-in-jsx-scope": 2, // Prevent missing React when using JSX
|
||||
"react/self-closing-comp": 2, // Prevent extra closing tags for components without children
|
||||
"react/wrap-multilines": 2 // Prevent missing parentheses around multilines JSX
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user