Skip to content

Commit 324755f

Browse files
committed
extend addon-sdk eslintrc from the project level eslintrc
1 parent f2ceb91 commit 324755f

9 files changed

+18
-25
lines changed

lib/.eslintrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// extends common eslintrc config with addon-sdk specific configs
2+
{
3+
"extends": "../.eslintrc",
4+
"env": {
5+
// commonjs conventions
6+
"node": true
7+
},
8+
"rules": {
9+
"global-strict": 0,
10+
"dot-notation": 0,
11+
"new-cap": 0,
12+
"no-underscore-dangle": 0
13+
},
14+
"globals": {
15+
// firebug.sdk globals
16+
"FBTrace": true
17+
}
18+
}

lib/inspector-actor.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
21
/* See license.txt for terms of usage */
32

4-
/* globals exports */
5-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
6-
73
"use strict";
84

95
// Add-on SDK

lib/inspector-front.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* See license.txt for terms of usage */
22

3-
/* globals exports, module */
4-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
5-
63
"use strict";
74

85
module.metadata = {

lib/inspector-service.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* See license.txt for terms of usage */
22

3-
/* globals exports, module */
4-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
5-
63
"use strict";
74

85
module.metadata = {

lib/inspector-window.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* See license.txt for terms of usage */
22

3-
/* globals exports, module, FBTrace */
4-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
5-
63
"use strict";
74

85
module.metadata = {

lib/main.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* See license.txt for terms of usage */
22

3-
/* globals exports, module */
4-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
5-
63
"use strict";
74

85
// Firebug.SDK

lib/start-button.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* See license.txt for terms of usage */
22

3-
/* globals exports, module */
4-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
5-
63
"use strict";
74

85
module.metadata = {

lib/toolbox-overlay.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* See license.txt for terms of usage */
22

3-
/* globals exports, module */
4-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
5-
63
"use strict";
74

85
module.metadata = {

lib/transport-observer.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
/* See license.txt for terms of usage */
22

3-
/* globals exports, module */
4-
/* eslint global-strict: 0, dot-notation: 0, new-cap: 0, no-underscore-dangle: 0 */
5-
63
"use strict";
74

85
module.metadata = {

0 commit comments

Comments
 (0)