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 44 "builtin": true,
55 "es6": true
66 },
7+ "parserOptions": {
8+ "ecmaVersion": 6,
9+ "sourceType": "module"
10+ },
711 "globals": {},
812 "rules": {
913 "block-scoped-var": 0,
6165 "no-undef": 2,
6266 "no-underscore-dangle": 0,
6367 "no-unreachable": 1,
64- "no-unused-vars": 0 ,
68+ "no-unused-vars": 1 ,
6569 "no-use-before-define": 1,
6670 "no-useless-call": 2,
6771 "no-useless-concat": 2,
6872 "no-with": 2,
6973 "quotes": [0, "single"],
7074 "radix": 2,
71- "semi": [0 , "never "],
75+ "semi": [1 , "always "],
7276 "strict": 0,
7377 "space-before-blocks": 1,
7478 "space-before-function-paren": [1, {
Original file line number Diff line number Diff line change 11var PluginTab = {
22
33 /**
4- * The function defined as the onready callback within the plugin configuration.
4+ * The function defined as the onready callback within the plugin configuration.
55 */
66 init : function ( ) {
77
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ const glob = require('glob');
77const path = require ( 'path' ) ;
88const EOL = require ( 'os' ) . EOL ;
99const tab_loader = require ( './src/tab-loader' ) ;
10- const config = require ( './config.json' ) ;
1110
1211function writeConfigToOutput ( patternlab , pluginConfig ) {
1312 var pluginConfigPathName = path . resolve ( patternlab . config . paths . public . root , 'patternlab-components' , 'packages' ) ;
@@ -46,7 +45,7 @@ function getPluginFrontendConfig() {
4645 'javascripts' :[ 'patternlab-components\/pattern-lab\/' + pluginName + '\/js\/' + pluginName + '.js' ] ,
4746 'onready' :'PluginTab.init()' ,
4847 'callback' :''
49- }
48+ } ;
5049}
5150
5251/**
You can’t perform that action at this time.
0 commit comments