Matches names of files and folders against a regular expression
$ npm install eslint-plugin-pathnames --save-dev
pathnames to the plugins section of your
.eslintrc configuration file. You can omit the
Then configure the rules you want to use under the rules section.
fileNamesis a regular expression that file names should match against (required);
folderNamesis a regular expression that folder names should match against (optional, defaults to
ignorePathsis a regular expression that should match against relative paths of files that should be ignored (optional).