mirror of
https://github.com/danilt2000/Alma-vid.git
synced 2026-02-04 01:34:13 +02:00
Init project
This commit is contained in:
30
.eslintrc
Normal file
30
.eslintrc
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"extends": ["react-app", "react-app/jest"],
|
||||
"rules": {
|
||||
"no-unused-vars": "warn",
|
||||
"no-console": "warn",
|
||||
"quotes": ["warn", "single"],
|
||||
"jsx-quotes": ["error", "prefer-double"],
|
||||
"prefer-const": "error",
|
||||
"indent": ["warn", 4],
|
||||
"max-len": ["warn", { "code": 120 }],
|
||||
"semi": ["warn", "always"],
|
||||
"import/order": [
|
||||
"warn",
|
||||
{
|
||||
"groups": [
|
||||
"builtin",
|
||||
"external",
|
||||
"internal",
|
||||
"unknown",
|
||||
"parent",
|
||||
"sibling",
|
||||
"index",
|
||||
"object",
|
||||
"type"
|
||||
],
|
||||
"newlines-between": "always-and-inside-groups"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user