Format code with prettier
This commit fixes the style issues introduced in 525e1d6
according to the output
from prettier.
Details: https://deepsource.io/gh/MillenniumEarl/F95API/transform/95effcff-4076-4cfe-9165-1ab1cfdc2715/
pull/42/head
parent
525e1d6417
commit
7b9dd8a1f0
|
@ -1,35 +1,20 @@
|
||||||
{
|
{
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"commonjs": true,
|
"commonjs": true,
|
||||||
"es2021": true,
|
"es2021": true,
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
"extends": "eslint:recommended",
|
"extends": "eslint:recommended",
|
||||||
"parser": "./node_modules/babel-eslint",
|
"parser": "./node_modules/babel-eslint",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 12
|
"ecmaVersion": 12
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"indent": [
|
"indent": ["error", 4],
|
||||||
"error",
|
"linebreak-style": ["error", "windows"],
|
||||||
4
|
"quotes": ["error", "double"],
|
||||||
],
|
"semi": ["error", "always"],
|
||||||
"linebreak-style": [
|
"no-unused-vars": ["error", "after-used"]
|
||||||
"error",
|
}
|
||||||
"windows"
|
|
||||||
],
|
|
||||||
"quotes": [
|
|
||||||
"error",
|
|
||||||
"double"
|
|
||||||
],
|
|
||||||
"semi": [
|
|
||||||
"error",
|
|
||||||
"always"
|
|
||||||
],
|
|
||||||
"no-unused-vars": [
|
|
||||||
"error",
|
|
||||||
"after-used"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue