eslint-plugin-sql icon indicating copy to clipboard operation
eslint-plugin-sql copied to clipboard

SQL linting rules for ESLint.

Results 16 eslint-plugin-sql issues
Sort by recently updated
recently updated
newest added

Add a rule `require-template-queries`, which would enforce use of template strings for queries. These would be considered problems: ```js "SELECT text FROM article WHERE id = " + id //...

enhancement

Example, ```js const createReservation = async ( connection: DatabaseConnectionType, sessionId: string, userId?: number, email?: string, eventId, seatIds: $ReadOnlyArray, ticketIds: $ReadOnlyArray ): Promise => { return connection.transaction(async (transactionConnection) => { const...

enhancement

# Description It keeps appending perl locale issue to my sql: ``` select c.* exclude (xxx, xxx) from current_records c left join historical_records h on c.xxx = h.xxx where c.xxx...

Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1. Commits 3b0994a 2.0.1 32f468f lib: fixed CVE-2023-42282 and added unit test See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ip&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any...

dependencies

After fix option wrong code replace this: ``` perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "C.UTF-8", LANG = (unset) are supported and...

I'm not very familiar with ESLint JSON, so this would have made it a bit clearer to me.