diff --git a/.editorconfig b/.editorconfig index ba49e3c2..fad89585 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,12 @@ root = true -[*] +[*.go] indent_style = tab indent_size = 4 +insert_final_newline = true + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..32f1001b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +go.sum linguist-generated diff --git a/.travis.yml b/.travis.yml index 9071560b..a9c30165 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ go: - "1.11.x" - "1.10.x" - "1.9.x" - - "1.8.x" matrix: include: diff --git a/LICENSE b/LICENSE index f21e5408..e180c8fb 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ Copyright (c) 2012 The Go Authors. All rights reserved. -Copyright (c) 2012 fsnotify Authors. All rights reserved. +Copyright (c) 2012-2019 fsnotify Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..ff11e13f --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/fsnotify/fsnotify + +go 1.13 + +require golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..f60af985 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=