Skip to content

Commit 41c4a7f

Browse files
committed
refactor: add lint text/plain filenames
1 parent 082b8eb commit 41c4a7f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

lib/lint/file.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ customMime.get( "application/node" ).shebangs.add( [
5252
"#!/usr/bin/env node",
5353
] );
5454

55+
customMime.get( "text/plain" ).filenames.add( [
56+
57+
//
58+
".editorconfig",
59+
".gitattributes",
60+
".npmrc",
61+
] );
62+
5563
customMime.get( "application/x-sh" ).filenames.add( [
5664

5765
//

0 commit comments

Comments
 (0)