remove prettier
This commit is contained in:
parent
ccc6540ae8
commit
d7ad5828af
5 changed files with 20 additions and 17 deletions
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 160,
|
||||
"bracketSameLine": true
|
||||
}
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
// @ts-check
|
||||
import eslint from '@eslint/js';
|
||||
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
||||
import globals from 'globals';
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
|
|
@ -10,7 +9,6 @@ export default tseslint.config(
|
|||
},
|
||||
eslint.configs.recommended,
|
||||
...tseslint.configs.recommendedTypeChecked,
|
||||
eslintPluginPrettierRecommended,
|
||||
{
|
||||
languageOptions: {
|
||||
globals: {
|
||||
|
|
@ -21,15 +19,14 @@ export default tseslint.config(
|
|||
parserOptions: {
|
||||
projectService: true,
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/no-floating-promises': 'warn',
|
||||
'@typescript-eslint/no-unsafe-argument': 'warn',
|
||||
"prettier/prettier": ["error", { endOfLine: "auto" }],
|
||||
},
|
||||
},
|
||||
'@typescript-eslint/no-unsafe-argument': 'warn'
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -34,7 +34,6 @@
|
|||
"eslint-plugin-prettier": "^5.2.2",
|
||||
"globals": "^16.0.0",
|
||||
"jest": "^30.0.0",
|
||||
"prettier": "^3.4.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"supertest": "^7.0.0",
|
||||
"ts-jest": "^29.2.5",
|
||||
|
|
@ -9009,6 +9008,7 @@
|
|||
"integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"prettier": "bin/prettier.cjs"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
"eslint-plugin-prettier": "^5.2.2",
|
||||
"globals": "^16.0.0",
|
||||
"jest": "^30.0.0",
|
||||
"prettier": "^3.4.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"supertest": "^7.0.0",
|
||||
"ts-jest": "^29.2.5",
|
||||
|
|
|
|||
|
|
@ -1,9 +1,22 @@
|
|||
import { Module } from '@nestjs/common';
|
||||
import { AppController } from './app.controller';
|
||||
import { MerchantsModule } from './merchants/merchants.module';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
|
||||
// const config: SqliteConnectionOptions = {
|
||||
// type: "sqlite",
|
||||
// database: "../db",
|
||||
// entities: [Post],
|
||||
// synchronize: true
|
||||
// };
|
||||
|
||||
@Module({
|
||||
imports: [MerchantsModule],
|
||||
imports: [
|
||||
MerchantsModule,
|
||||
TypeOrmModule.forRoot({
|
||||
|
||||
})
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: []
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue