Include "tools" folder in "lint" packagejson script
This commit is contained in:
@@ -99,6 +99,7 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
files: ['tools/scripts/**/*'],
|
files: ['tools/scripts/**/*'],
|
||||||
rules: {
|
rules: {
|
||||||
|
'no-console': 'off',
|
||||||
'no-relative-import-paths/no-relative-import-paths': 'off',
|
'no-relative-import-paths/no-relative-import-paths': 'off',
|
||||||
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
|
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"test": "node -e \"console.log('imagine')\"",
|
"test": "node -e \"console.log('imagine')\"",
|
||||||
"build-md5": "find build -type f | sort | xargs md5sum | awk '{ print $1 }' | tr -d '\n' | md5sum| awk '{ print $1 }' > buildZip/md5sum ",
|
"build-md5": "find build -type f | sort | xargs md5sum | awk '{ print $1 }' | tr -d '\n' | md5sum| awk '{ print $1 }' > buildZip/md5sum ",
|
||||||
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Suwayomi-WebUI-r$rev *",
|
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo r$rev > revision && zip -9 -r ../buildZip/Suwayomi-WebUI-r$rev *",
|
||||||
"lint": "eslint src --ext .ts,.tsx,.js,.jsx --max-warnings=0 --cache",
|
"lint": "eslint src tools --ext .ts,.tsx,.js,.jsx --max-warnings=0 --cache",
|
||||||
"createCommitChangelog": "tsx tools/scripts/release/createCommitChangelog.ts",
|
"createCommitChangelog": "tsx tools/scripts/release/createCommitChangelog.ts",
|
||||||
"createTranslationChangelog": "tsx tools/scripts/release/createTranslationChangelog.ts",
|
"createTranslationChangelog": "tsx tools/scripts/release/createTranslationChangelog.ts",
|
||||||
"createReleaseChangelog": "tsx tools/scripts/release/createReleaseChangelog.ts",
|
"createReleaseChangelog": "tsx tools/scripts/release/createReleaseChangelog.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user