Fix eslint & sql db name

This commit is contained in:
ShootingStar91
2024-05-20 11:12:46 +03:00
parent 133b6e42ae
commit e6ba6aeea2
3 changed files with 13 additions and 1 deletions
+6
View File
@@ -19,6 +19,12 @@ module.exports = {
'no-console': 'error', 'no-console': 'error',
'no-unused-vars': 'off', 'no-unused-vars': 'off',
'@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }], '@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }],
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}, },
settings: { settings: {
'import/resolver': { 'import/resolver': {
+1 -1
View File
@@ -10,5 +10,5 @@ USE now_test
SOURCE /docker-entrypoint-initdb.d/sqlfiles/now_view.sql SOURCE /docker-entrypoint-initdb.d/sqlfiles/now_view.sql
CREATE USER 'now_test'@'localhost' IDENTIFIED BY 'mariadb_password'; 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'; GRANT SELECT, INSERT, UPDATE, DELETE ON `now_test`.* TO 'now_test'@'localhost';
+6
View File
@@ -22,6 +22,12 @@ module.exports = {
'react/jsx-uses-react': 'off', 'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off', 'react/react-in-jsx-scope': 'off',
'import/no-named-as-default-member': 'off', 'import/no-named-as-default-member': 'off',
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
}, },
settings: { settings: {
'import/resolver': { 'import/resolver': {