code: function getAllStrings() {
              return sourceCode.ast.tokens.filter(token => (token.type === "String" ||
                  (token.type === "JSXText" && sourceCode.getNodeByRangeIndex(token.range[0] - 1).type === "JSXAttribute")));
          }
docs: Retrieves an array containing all strings (" or ') in the source code.
  
  @returns {ASTNode[]} An array of string nodes.