formatting and linting work
This commit is contained in:
parent
c02cf8c12e
commit
3b39d8cf08
8 changed files with 290 additions and 323 deletions
|
|
@ -6,14 +6,17 @@
|
|||
},
|
||||
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
|
||||
"rules": {
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
{
|
||||
"singleQuote": true,
|
||||
"semi": false,
|
||||
"trailingComma": "es5"
|
||||
"prettier/prettier": "error",
|
||||
"no-console": "warn",
|
||||
"no-unused-vars": "off"
|
||||
},
|
||||
"plugins": ["prettier"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["src/public/javascript/*.js"],
|
||||
"rules": {
|
||||
"no-unused-vars": "off"
|
||||
}
|
||||
],
|
||||
"no-console": "warn"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue