mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Fix eslint & sql db name
This commit is contained in:
@@ -19,6 +19,12 @@ module.exports = {
|
||||
'no-console': 'error',
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }],
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
{
|
||||
"endOfLine": "auto"
|
||||
}
|
||||
]
|
||||
},
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
|
||||
@@ -10,5 +10,5 @@ USE now_test
|
||||
SOURCE /docker-entrypoint-initdb.d/sqlfiles/now_view.sql
|
||||
|
||||
CREATE USER 'now_test'@'localhost' IDENTIFIED BY 'mariadb_password';
|
||||
GRANT SELECT, INSERT, UPDATE ON `log_test`.* TO 'now_test'@'localhost';
|
||||
GRANT SELECT, INSERT, UPDATE ON `now_log_test`.* TO 'now_test'@'localhost';
|
||||
GRANT SELECT, INSERT, UPDATE, DELETE ON `now_test`.* TO 'now_test'@'localhost';
|
||||
|
||||
@@ -22,6 +22,12 @@ module.exports = {
|
||||
'react/jsx-uses-react': 'off',
|
||||
'react/react-in-jsx-scope': 'off',
|
||||
'import/no-named-as-default-member': 'off',
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
{
|
||||
"endOfLine": "auto"
|
||||
}
|
||||
]
|
||||
},
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
|
||||
Reference in New Issue
Block a user