Skip to content
This repository was archived by the owner on Nov 12, 2021. It is now read-only.

Commit a2ba1b8

Browse files
committed
Uses editorconfig to maintain consistent coding styles
Removes the following as they unnecessary /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
1 parent 9e335a6 commit a2ba1b8

File tree

133 files changed

+18
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+18
-259
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*.{js,jsm,html,css}]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
max_line_length = 80
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
max_line_length = 0
14+
trim_trailing_whitespace = false
15+
16+
[COMMIT_EDITMSG]
17+
max_line_length = 0

examples/acroforms/forms.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31

42
//
53
// Basic AcroForms input controls rendering

examples/helloworld/hello.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31

42
//
53
// See README for overview

examples/node/domparsermock.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31
/* Any copyright is dedicated to the Public Domain.
42
* http://creativecommons.org/publicdomain/zero/1.0/ */
53

examples/node/domstubs.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31
/* Any copyright is dedicated to the Public Domain.
42
* http://creativecommons.org/publicdomain/zero/1.0/ */
53

examples/node/getinfo.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31
/* Any copyright is dedicated to the Public Domain.
42
* http://creativecommons.org/publicdomain/zero/1.0/ */
53

examples/node/pdf2svg.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31
/* Any copyright is dedicated to the Public Domain.
42
* http://creativecommons.org/publicdomain/zero/1.0/ */
53

examples/svgviewer/viewer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31

42
//
53
// See README for overview

extensions/chromium/contentscript.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31
/*
42
Copyright 2014 Mozilla Foundation
53

extensions/chromium/extension-router.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2-
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
31
/*
42
Copyright 2013 Mozilla Foundation
53

0 commit comments

Comments
 (0)