From a4de664759083eecd43bcac4c9c10fdd878467e2 Mon Sep 17 00:00:00 2001 From: Alex Corn Date: Thu, 29 Jul 2021 03:14:55 -0400 Subject: [PATCH] Disable eslint on generated files --- package.json | 3 +++ resources/EConfirmationType.js | 2 ++ resources/EFriendRelationship.js | 4 +++- resources/EPersonaState.js | 2 ++ resources/EPersonaStateFlag.js | 2 ++ resources/EResult.js | 2 ++ 6 files changed, 14 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b483c1e..ad9a878 100644 --- a/package.json +++ b/package.json @@ -36,5 +36,8 @@ }, "devDependencies": { "eslint": "^7.31.0" + }, + "scripts": { + "lint": "npx eslint . --ext .js,.jsx,.ts,.tsx" } } diff --git a/resources/EConfirmationType.js b/resources/EConfirmationType.js index 3c92474..ed56667 100644 --- a/resources/EConfirmationType.js +++ b/resources/EConfirmationType.js @@ -1,3 +1,5 @@ +/* eslint-disable */ + /** * @enum EConfirmationType */ diff --git a/resources/EFriendRelationship.js b/resources/EFriendRelationship.js index ed9ef7a..f5a5b44 100644 --- a/resources/EFriendRelationship.js +++ b/resources/EFriendRelationship.js @@ -1,7 +1,9 @@ +/* eslint-disable */ + /** * @enum EFriendRelationship */ - module.exports = { +module.exports = { "None": 0, "Blocked": 1, "RequestRecipient": 2, diff --git a/resources/EPersonaState.js b/resources/EPersonaState.js index d09c90d..07eabcf 100644 --- a/resources/EPersonaState.js +++ b/resources/EPersonaState.js @@ -1,3 +1,5 @@ +/* eslint-disable */ + /** * @enum EPersonaState */ diff --git a/resources/EPersonaStateFlag.js b/resources/EPersonaStateFlag.js index eb1f5b1..7812c32 100644 --- a/resources/EPersonaStateFlag.js +++ b/resources/EPersonaStateFlag.js @@ -1,3 +1,5 @@ +/* eslint-disable */ + /** * @enum EPersonaStateFlag */ diff --git a/resources/EResult.js b/resources/EResult.js index 6513772..5824cc8 100644 --- a/resources/EResult.js +++ b/resources/EResult.js @@ -1,3 +1,5 @@ +/* eslint-disable */ + /** * @enum EResult */