Check File Names Format
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-filename-checker:
$ npm install eslint-plugin-filename-checker --save-dev
or If you use Yarn:
$ yarn add -D eslint-plugin-filename-checker
Add filename-checker to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
    "plugins": [
        "filename-checker"
    ]
}Then configure the rules you want to use under the rules section.
{
    "rules": {
      "filename-checker/file-format": [ "error", { "regex": "Your RegEx" }]
    }
}- Fill in provided rules here