From 6e6cf36a4d83a877076689d37106796a942e7618 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Mon, 28 Mar 2016 11:15:10 -0700 Subject: [PATCH] Linting (Markdown with remarkrc config, package.json, less); add single quotes within @font-face url() to work around https://github.com/atom/language-less/issues/51 --- .remarkrc | 11 +++++++++ CHANGELOG.md | 48 ++++++++++++++++++++++++------------- LICENSE.md | 2 ++ README.md | 60 +++++++++++++++++++++++++---------------------- package.json | 4 ++++ styles/fonts.less | 6 ++--- 6 files changed, 84 insertions(+), 47 deletions(-) create mode 100644 .remarkrc diff --git a/.remarkrc b/.remarkrc new file mode 100644 index 0000000..89c94bb --- /dev/null +++ b/.remarkrc @@ -0,0 +1,11 @@ +{ + "plugins": { + "lint": { + "no-missing-blank-lines": false, + "no-multiple-toplevel-headings": false, + "list-item-bullet-indent": false, + "list-item-indent": "space", + "list-item-spacing": false + } + } +} diff --git a/CHANGELOG.md b/CHANGELOG.md index bf116c2..0ad2adc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,16 +6,19 @@ ## **v1.0.0** — *Released: 18 March 2016* -* [#26](https://github.com/lee-dohm/file-type-icons/issues/26) — Fix doubled icons and misalignment on Nuclide tree view +* [#26](https://github.com/lee-dohm/file-type-icons/issues/26) — + Fix doubled icons and misalignment on Nuclide tree view ## **v0.7.4** — *Released: 13 November 2015* -* PR [#24](https://github.com/lee-dohm/file-type-icons/pull/24) by [@tonatiuh](https://github.com/tonatiuh) +* PR [#24](https://github.com/lee-dohm/file-type-icons/pull/24) by + [@tonatiuh](https://github.com/tonatiuh) * Add icon for Cucumber files ## **v0.7.3** — *Released: 20 August 2015* -* :bug: Moved declaration of specs and tests icon after all other icons so that it overrides the normal file icon for those languages +* :bug: Moved declaration of specs and tests icon after all other icons so that + it overrides the normal file icon for those languages ## **v0.7.2** — *Released: 20 August 2015* @@ -29,7 +32,7 @@ ## **v0.7.0** — *Released: 12 June 2015* * Updated Devicons to v1.8.0 -* Added icon for Elixir files — http://fortawesome.github.io/Font-Awesome/icon/tint/ +* Added icon for Elixir files — ## **v0.6.0** — *Released: 1 May 2015* @@ -44,7 +47,8 @@ ## **v0.5.3** — *Released: 22 December 2014* -* [#19](https://github.com/lee-dohm/file-type-icons/issues/19) — Added [Twig](http://twig.sensiolabs.org) files to the list of templates +* [#19](https://github.com/lee-dohm/file-type-icons/issues/19) — + Added [Twig](http://twig.sensiolabs.org) files to the list of templates ## **v0.5.2** — *Released: 13 November 2014* @@ -53,29 +57,36 @@ ## **v0.5.1** — *Released: 14 October 2014* -* :bug: [#17](https://github.com/lee-dohm/file-type-icons/issues/15) — Match `[Gg]ulpfile.(js|coffee)` for Gulp icon +* :bug: [#17](https://github.com/lee-dohm/file-type-icons/issues/15) — + Match `[Gg]ulpfile.(js|coffee)` for Gulp icon * Skipped v0.5.0 due to publishing error ## **v0.4.4** — *Released: 23 September 2014* -* :bug: [#12](https://github.com/lee-dohm/file-type-icons/issues/15) — Remove up-sizing of DevIcons font that was causing text misalignment in tabs -* :bug: [#15](https://github.com/lee-dohm/file-type-icons/issues/15) — :memo: Update JS icon link in the README +* :bug: [#12](https://github.com/lee-dohm/file-type-icons/issues/15) — + Remove up-sizing of DevIcons font that was causing text misalignment in tabs +* :bug: [#15](https://github.com/lee-dohm/file-type-icons/issues/15) + — :memo: Update JS icon link in the README ## **v0.4.3** — *Released: 15 August 2014* -* [#11](https://github.com/lee-dohm/file-type-icons/issues/11) — Directories matching "tags" have the folder icon again +* [#11](https://github.com/lee-dohm/file-type-icons/issues/11) — + Directories matching "tags" have the folder icon again ## **v0.4.2** — *Released: 13 August 2014* -* [#10](https://github.com/lee-dohm/file-type-icons/issues/10) — Fix alignment and size on DevIcons icons +* [#10](https://github.com/lee-dohm/file-type-icons/issues/10) — + Fix alignment and size on DevIcons icons ## **v0.4.1** — *Released: 12 August 2014* -* [#4](https://github.com/lee-dohm/file-type-icons/issues/4) — Use a better JavaScript icon +* [#4](https://github.com/lee-dohm/file-type-icons/issues/4) — + Use a better JavaScript icon ## **v0.4.0** — *Released: 12 August 2014* -* [#7](https://github.com/lee-dohm/file-type-icons/issues/7) — Add Grunt and Gulp icons for their respective files +* [#7](https://github.com/lee-dohm/file-type-icons/issues/7) — + Add Grunt and Gulp icons for their respective files * Add [DevIcons font](http://vorillaz.github.io/devicons/#/main) ## **v0.3.1** — *Released: 12 August 2014* @@ -89,20 +100,25 @@ ## **v0.2.1** — *Released: 30 June 2014* -* [#5](https://github.com/lee-dohm/file-type-icons/issues/5) — Add non-subpixel antialiased font smoothing to all icon fonts +* [#5](https://github.com/lee-dohm/file-type-icons/issues/5) — + Add non-subpixel antialiased font smoothing to all icon fonts ## **v0.2.0** — *Released: 20 June 2014* * Add `.biscottoopts` and `.yardopts` to the list of meta-configuration files -* [#2](https://github.com/lee-dohm/file-type-icons/issues/2) — Added icon for JavaScript and selected a better one for CoffeeScript +* [#2](https://github.com/lee-dohm/file-type-icons/issues/2) — + Added icon for JavaScript and selected a better one for CoffeeScript ## **v0.1.3** — *Released: 19 June 2014* -* [#3](https://github.com/lee-dohm/file-type-icons/issues/3) — Symlinks now have their own icon (the one they have by default) +* [#3](https://github.com/lee-dohm/file-type-icons/issues/3) — + Symlinks now have their own icon (the one they have by default) ## **v0.1.2** — *Released: 19 June 2014* -* PR [#1](https://github.com/lee-dohm/file-type-icons/pull/1) from [@Nicolab](https://github.com/Nicolab) — Changed icon for `.git` directories to [octicon-repo](http://octicons.github.com/icon/repo/) since not *all* repositories are backed by GitHub ... yet :wink: +* PR [#1](https://github.com/lee-dohm/file-type-icons/pull/1) from [@Nicolab](https://github.com/Nicolab) + — Changed icon for `.git` directories to [octicon-repo](http://octicons.github.com/icon/repo/) + since not *all* repositories are backed by GitHub ... yet :wink: ## **v0.1.1** — *Released: 18 June 2014* diff --git a/LICENSE.md b/LICENSE.md index 9322a35..eff9e72 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,3 +1,5 @@ +# LICENSE + Copyright © 2014-2016 [Lee Dohm](http://www.lee-dohm.com) Permission is hereby granted, free of charge, to any person obtaining diff --git a/README.md b/README.md index 69647be..a522f40 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # File Type Icons -Changes the icon for files in the Tree View and Tabs to reflect the file's type. +Changes the icon for files in the Tree View and Tabs to reflect the +file's type. ![Screenshot](https://raw.githubusercontent.com/lee-dohm/file-type-icons/master/file-type-icons.png) @@ -10,33 +11,36 @@ Just install and enjoy. Now with support for [Nuclide](http://nuclide.io)! ### Icons -This is just a sampling of the icons in the set for now. (I don't know how to make Octicons work in Markdown yet, so links will have to do :cry:) - -* Archive files: http://octicons.github.com/icon/file-zip/ -* CoffeeScript files: http://fortawesome.github.io/Font-Awesome/icon/coffee/ -* Configuration files: http://octicons.github.com/icon/gear/ -* CTAGS files: http://octicons.github.com/icon/tag/ -* Cucumber files: https://octicons.github.com/icon/browser/ -* Database files: http://octicons.github.com/icon/database/ -* Fonts: http://octicons.github.com/icon/pencil/ -* `.git` directories: http://octicons.github.com/icon/repo/ -* HTML files: http://octicons.github.com/icon/globe/ -* Images: http://octicons.github.com/icon/file-media/ -* JavaScript files: http://vorillaz.github.io/devicons/#/singleicon/javascript -* JSON, YAML and CSON files: http://octicons.github.com/icon/settings/ -* Lock files: http://octicons.github.com/icon/lock/ -* Log files: http://octicons.github.com/icon/bug/ -* Markdown files: http://octicons.github.com/icon/markdown/ -* PDF files: http://octicons.github.com/icon/file-pdf/ -* Ruby files: http://octicons.github.com/icon/ruby/ -* Shell scripts: http://octicons.github.com/icon/terminal/ -* Source map files: http://octicons.github.com/icon/location/ -* Stylesheets: http://octicons.github.com/icon/paintcan/ -* Symlinks: http://octicons.github.com/icon/file-symlink-file/ -* Templates: http://octicons.github.com/icon/code/ -* TODO files: http://octicons.github.com/icon/checklist/ -* Videos: http://octicons.github.com/icon/device-camera-video/ +This is just a sampling of the icons in the set for now. (I don't know how to +make Octicons work in Markdown yet, so links will have to do :cry:) + +* Archive files: +* CoffeeScript files: +* Configuration files: +* CTAGS files: +* Cucumber files: +* Database files: +* Fonts: +* `.git` directories: +* HTML files: +* Images: +* JavaScript files: +* JSON, YAML and CSON files: +* Lock files: +* Log files: +* Markdown files: +* PDF files: +* Ruby files: +* Shell scripts: +* Source map files: +* Stylesheets: +* Symlinks: +* Templates: +* TODO files: +* Videos: ## Copyright -Copyright © 2014-2016 [Lee Dohm](http://www.lee-dohm.com), [Lifted Studios](http://www.liftedstudios.com). See [LICENSE](https://github.com/lee-dohm/auto-copyright/blob/master/LICENSE.md) for details. +Copyright © 2014-2016 [Lee Dohm](http://www.lee-dohm.com), +[Lifted Studios](http://www.liftedstudios.com). See [LICENSE](https://github.com/lee-dohm/auto-copyright/blob/master/LICENSE.md) +for details. diff --git a/package.json b/package.json index 00ddeff..1cf42ef 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.1", "description": "Changes the icon for files in the Tree View and Tabs to reflect the file's type", "author": "Lee Dohm ", + "contributors": [], "keywords": [ "file", "type", @@ -11,7 +12,10 @@ "tabs" ], "repository": "https://github.com/lee-dohm/file-type-icons", + "bugs": "https://github.com/lee-dohm/file-type-icons/issues", + "homepage": "https://atom.io/packages/file-type-icons", "license": "MIT", + "dependencies": {}, "engines": { "atom": ">=1.6.0 <2.0.0" } diff --git a/styles/fonts.less b/styles/fonts.less index 8e9a497..5e343ad 100644 --- a/styles/fonts.less +++ b/styles/fonts.less @@ -2,19 +2,19 @@ font-family: 'DevIcons'; font-weight: normal; font-style: normal; - src: url(atom://file-type-icons/fonts/devicons.woff) format('woff'); + src: url('atom://file-type-icons/fonts/devicons.woff') format('woff'); } @font-face { font-family: 'Font Awesome'; font-weight: normal; font-style: normal; - src: url(atom://file-type-icons/fonts/fontawesome-webfont.woff) format('woff'); + src: url('atom://file-type-icons/fonts/fontawesome-webfont.woff') format('woff'); } @font-face { font-family: 'Font Mfizz'; - src: url(atom://file-type-icons/fonts/font-mfizz.woff) format('woff'); + src: url('atom://file-type-icons/fonts/font-mfizz.woff') format('woff'); font-weight: normal; font-style: normal; }