mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-11 09:11:50 +00:00
Merge branch 'master' into dengr1065/formatting-update
This commit is contained in:
commit
25614e2d7e
@ -41,9 +41,8 @@ const runtimeConfig = tseslint.config(...baseConfig, {
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
// Mostly caused by JSDoc imports, so don't annoy with errors but keep
|
||||
// a reminder!
|
||||
"@typescript-eslint/no-unused-vars": "warn",
|
||||
// Mostly caused by JSDoc imports, disable for now
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
// FIXME: enforce when we're ready to
|
||||
"prefer-const": "warn",
|
||||
},
|
||||
@ -56,11 +55,11 @@ export default [
|
||||
},
|
||||
...nodeConfig.map(config => ({
|
||||
...config,
|
||||
files: ["*.(ts|js)", "(gulp|electron)/**/*.(ts|js)"],
|
||||
files: ["*.{ts,js}", "{gulp,electron}/**/*.{ts,js}"],
|
||||
ignores: ["gulp/preloader/*.js"],
|
||||
})),
|
||||
...runtimeConfig.map(config => ({
|
||||
...config,
|
||||
files: ["src/**/*.(ts|js)x?"],
|
||||
files: ["src/**/*.{ts,js,tsx,jsx}"],
|
||||
})),
|
||||
];
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"gulp": "gulp --cwd gulp",
|
||||
"lint": "(eslint . && tsc && tsc -p src) || (tsc && tsc -p src) || tsc -p src",
|
||||
"lint": "eslint .",
|
||||
"prettier-all": "prettier --write .",
|
||||
"buildTypes": "tsc src/js/application.js --declaration --allowJs --emitDeclarationOnly --skipLibCheck --out types.js",
|
||||
"package-win32-x64": "gulp --cwd gulp package.standalone.win32-x64",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user