This commit is contained in:
Imbus 2023-12-14 19:02:22 +01:00
parent 0539f876f6
commit edb7d67547
3 changed files with 1105 additions and 3 deletions

11
.eslintrc.cjs Normal file
View file

@ -0,0 +1,11 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
ignorePatterns: ["babel.config.js", "jest.config.js", "node_modules/"],
rules: {
"@typescript-eslint/explicit-function-return-type": "error"
}
};

1089
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,8 @@
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
"web": "expo start --web",
"lint": "tsc --noEmit && eslint --ext .js,.jsx,.ts,.tsx ./"
},
"dependencies": {
"expo": "~49.0.15",
@ -17,7 +18,10 @@
"devDependencies": {
"@babel/core": "^7.20.0",
"@types/react": "~18.2.14",
"typescript": "^5.1.3"
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.55.0",
"typescript": "^5.3.3"
},
"private": true
}