Working base server with migrations and build steps ironed out (#1)
Reviewed-on: #1 Co-authored-by: Joseph Nelson <joseph.nelson4456@gmail.com> Co-committed-by: Joseph Nelson <joseph.nelson4456@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// eslint.config.js (Advanced alternative)
|
||||
import prettierPlugin from 'eslint-plugin-prettier'
|
||||
import prettierConfig from 'eslint-config-prettier'
|
||||
import prettierOptions from './prettier.config.js' // Import your config directly
|
||||
import importPlugin from 'eslint-plugin-import'
|
||||
|
||||
export default [
|
||||
{
|
||||
plugins: {
|
||||
prettier: prettierPlugin,
|
||||
import: importPlugin,
|
||||
},
|
||||
rules: {
|
||||
...prettierConfig.rules,
|
||||
'prettier/prettier': ['error', prettierOptions],
|
||||
'no-sequences': 'off',
|
||||
'no-console': 'warn',
|
||||
'import/first': 'error',
|
||||
'import/newline-after-import': 'error',
|
||||
'import/no-duplicates': 'error',
|
||||
'import/no-unresolved': 'error',
|
||||
'import/no-unused-modules': ['warn', { missingExports: true }],
|
||||
quotes: ['error', 'single'],
|
||||
semi: 'off',
|
||||
},
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user