{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/dart_style/issues/147","labels_url":"https://api.github.com/repos/dart-lang/dart_style/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/dart_style/issues/147/comments","events_url":"https://api.github.com/repos/dart-lang/dart_style/issues/147/events","html_url":"https://github.com/dart-lang/dart_style/issues/147","id":54377644,"number":147,"title":"Mark files to skip","user":{"login":"Fox32","id":648527,"avatar_url":"https://avatars.githubusercontent.com/u/648527?v=3","gravatar_id":"","url":"https://api.github.com/users/Fox32","html_url":"https://github.com/Fox32","followers_url":"https://api.github.com/users/Fox32/followers","following_url":"https://api.github.com/users/Fox32/following{/other_user}","gists_url":"https://api.github.com/users/Fox32/gists{/gist_id}","starred_url":"https://api.github.com/users/Fox32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fox32/subscriptions","organizations_url":"https://api.github.com/users/Fox32/orgs","repos_url":"https://api.github.com/users/Fox32/repos","events_url":"https://api.github.com/users/Fox32/events{/privacy}","received_events_url":"https://api.github.com/users/Fox32/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/dart_style/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T21:15:27Z","updated_at":"2015-02-20T19:31:24Z","closed_at":"2015-02-20T19:31:24Z","body":"I like that I can run the formatter for the whole directory. But in my project there are some files, were the formatter will never be able to do a good job. These are files that have a specific formatting that make the file better readable/understandable. My files are quite similar to the [ones in the ```lib/src/content``` folder of hauberk](https://github.com/munificent/hauberk/tree/master/lib/src/content). Good examples are ```monsters.dart``` and ```recibes.dart```. For now I have to revert the files after running the formatter.\r\n\r\nIt would be usefull to skip specific files while formatting. \r\n\r\nI'm not sure what a good way of marking them is. Some things that came into my mind: @metadata, specific comment, or something like .gitignore (could also be integrated into another config file, e.g. one that specifies the line length for the project)."}}