Skip to content

Commit 6cd35f8

Browse files
committed
🎉 start project
0 parents  commit 6cd35f8

8 files changed

+1167
-0
lines changed

.eslintrc.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
parserOptions: {
4+
project: 'tsconfig.json',
5+
sourceType: 'module',
6+
},
7+
plugins: ['@typescript-eslint/eslint-plugin', 'prettier'],
8+
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
9+
root: true,
10+
env: {
11+
node: true,
12+
},
13+
ignorePatterns: ['.eslintrc.js'],
14+
rules: {
15+
'@typescript-eslint/interface-name-prefix': 'off',
16+
'@typescript-eslint/explicit-function-return-type': 'off',
17+
'@typescript-eslint/explicit-module-boundary-types': 'off',
18+
'@typescript-eslint/no-explicit-any': 'off',
19+
},
20+
};

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.idea
2+
node_modules
3+
dist
4+
coverage
5+
.env
6+
.eslintcache
7+
.tool-versions

.prettierrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all"
4+
}

package.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "simple-subway",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"keywords": [],
10+
"author": "",
11+
"license": "ISC",
12+
"devDependencies": {
13+
"@types/node": "^20.1.1",
14+
"@typescript-eslint/eslint-plugin": "^5.59.5",
15+
"@typescript-eslint/parser": "^5.59.5",
16+
"eslint": "^8.40.0",
17+
"eslint-config-prettier": "^8.8.0",
18+
"eslint-plugin-prettier": "^4.2.1",
19+
"prettier": "^2.8.8",
20+
"typescript": "^5.0.4"
21+
},
22+
"dependencies": {
23+
"mysql2": "^3.3.0"
24+
}
25+
}

0 commit comments

Comments
 (0)