This repository was archived by the owner on Dec 10, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4
4
"builtin": true,
5
5
"es6": true
6
6
},
7
+ "parserOptions": {
8
+ "ecmaVersion": 6,
9
+ "sourceType": "module"
10
+ },
7
11
"globals": {},
8
12
"rules": {
9
13
"block-scoped-var": 0,
61
65
"no-undef": 2,
62
66
"no-underscore-dangle": 0,
63
67
"no-unreachable": 1,
64
- "no-unused-vars": 0 ,
68
+ "no-unused-vars": 1 ,
65
69
"no-use-before-define": 1,
66
70
"no-useless-call": 2,
67
71
"no-useless-concat": 2,
68
72
"no-with": 2,
69
73
"quotes": [0, "single"],
70
74
"radix": 2,
71
- "semi": [0 , "never "],
75
+ "semi": [1 , "always "],
72
76
"strict": 0,
73
77
"space-before-blocks": 1,
74
78
"space-before-function-paren": [1, {
Original file line number Diff line number Diff line change 1
1
var PluginTab = {
2
2
3
3
/**
4
- * The function defined as the onready callback within the plugin configuration.
4
+ * The function defined as the onready callback within the plugin configuration.
5
5
*/
6
6
init : function ( ) {
7
7
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const glob = require('glob');
7
7
const path = require ( 'path' ) ;
8
8
const EOL = require ( 'os' ) . EOL ;
9
9
const tab_loader = require ( './src/tab-loader' ) ;
10
- const config = require ( './config.json' ) ;
11
10
12
11
function writeConfigToOutput ( patternlab , pluginConfig ) {
13
12
var pluginConfigPathName = path . resolve ( patternlab . config . paths . public . root , 'patternlab-components' , 'packages' ) ;
@@ -46,7 +45,7 @@ function getPluginFrontendConfig() {
46
45
'javascripts' :[ 'patternlab-components\/pattern-lab\/' + pluginName + '\/js\/' + pluginName + '.js' ] ,
47
46
'onready' :'PluginTab.init()' ,
48
47
'callback' :''
49
- }
48
+ } ;
50
49
}
51
50
52
51
/**
You can’t perform that action at this time.
0 commit comments