mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2025-03-04 16:08:28 -06:00
feat(rewrite): Rewrote the whole thing in ReactJS 💅 (#22)
* feat(rewrite): Rewrote the whole thing in ReactJS 💅
* chore(docs): Updated
This commit is contained in:
42
.eslintrc
Normal file
42
.eslintrc
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"parser": "@babel/eslint-parser",
|
||||
"settings": {
|
||||
"react": {
|
||||
"pragma": "React",
|
||||
"version": "detect"
|
||||
}
|
||||
},
|
||||
"plugins": ["jsx","prettier"],
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:react/recommended",
|
||||
"prettier"
|
||||
],
|
||||
"env": {
|
||||
"jest": true,
|
||||
"jasmine": true,
|
||||
"node": true,
|
||||
"browser": true,
|
||||
"es6": true
|
||||
|
||||
},
|
||||
"rules": {
|
||||
"prettier/prettier":
|
||||
["error", {
|
||||
"singleQuote": true,
|
||||
"jsxSingleQuote": false,
|
||||
"arrowParens": "avoid",
|
||||
"semi": true,
|
||||
"trailingComma": "all",
|
||||
"spaceAfterFunction": true
|
||||
}],
|
||||
"no-console": ["error", { "allow": ["warn", "error"] }],
|
||||
"no-alert": "error",
|
||||
"no-debugger": "error",
|
||||
"prefer-const": "error",
|
||||
"prefer-arrow-callback": "error",
|
||||
"no-unused-vars": ["error", {"args": "none"}],
|
||||
"react/prop-types": 0,
|
||||
"react/no-unescaped-entities": 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user