SamVerschueren / clinton

Project style linter
MIT License
122 stars 9 forks source link

Reports about non-existing file #36

Closed sindresorhus closed 8 years ago

sindresorhus commented 8 years ago
~/dev/acosh master
❯ clinton
  /Users/sindresorhus/dev/acosh/.__browserify_string_empty.js
    ✖ Filename is not in kebab case. Rename it to `.browserify-string-empty.js`. (filename-case)

I've seen this on multiple repos.

SamVerschueren commented 8 years ago

And you are 100% sure that the file does not exist? Cloned the repo and ran clinton but the only error it shows is

  /Users/sam/Projects/opensource/forks/acosh/package.json
    ✖ XO is not installed as devDependency. (xo)
sindresorhus commented 8 years ago

I thought I was, but it shows up in the CLI:

~/dev/acosh master
❯ tree -a
.
├── .DS_Store
├── .__browserify_string_empty.js
├── .editorconfig

But not in Finder. Wuuut.

sindresorhus commented 8 years ago

Seems like files starting with .__ are hidden even when hidden files are turned on in Finder.

SamVerschueren commented 8 years ago

Too bad we don't have an option to show hidden hidden files then :p. That's really odd, never came across something like that.

Safe to close this one then?

sindresorhus commented 8 years ago

Yes