Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit b2e642c

Browse files
committed
linting
1 parent 06c7892 commit b2e642c

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.eslintrc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
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,
@@ -61,14 +65,14 @@
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, {

dist/js/plugin-node-tab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var 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

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const glob = require('glob');
77
const path = require('path');
88
const EOL = require('os').EOL;
99
const tab_loader = require('./src/tab-loader');
10-
const config = require('./config.json');
1110

1211
function 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
/**

0 commit comments

Comments
 (0)