eslint-plugin-snakecasejs
eslint-plugin-snakecasejs copied to clipboard
:pencil2: ESLint Plugin: enforce snake_case syntax on variables and function names
### Versions - **ESLint Version:** v7.24.0 - **Plugin Version:** v2.2.0 - **Node Version:** v12.18.4 (Plugin require >= latest lts version) - **Operating System:** MacOS 11.3.1 ### Expected Behavior The plugin...
### Versions Plugin Version: v2.2.0 ### input ```js import { someName } from "./some-where.js"; import fs from 'fs'; fs.readFileSync("some-where.txt", "utf8"); ``` ### expected output ```js import { someName as some_name...
fix these errors ``` error Parsing error: The keyword 'const' is reserved error Parsing error: 'import' and 'export' may appear only with 'sourceType: module' ```
Would be really great to have TypeScript support with @typescript-eslint/eslint-plugin It is really annoying when the project uses snake case as a standard and we don't have this natively supported....