Skip to content

Commit 7d54f87

Browse files
committed
Fix errant comma
1 parent 867a68c commit 7d54f87

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.eslintrc.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
const length = 140;
2+
13
module.exports = {
24
parser: '@typescript-eslint/parser',
35
plugins: [
46
'@typescript-eslint',
5-
`import`
7+
'import'
68
],
79
parserOptions: {
810
ecmaVersion: 9,
@@ -28,7 +30,7 @@ module.exports = {
2830
'linebreak-style': ['error', 'unix'],
2931
'eqeqeq': ['error', 'always'],
3032
'indent': ['error', 'tab', {SwitchCase: 1}],
31-
'max-len': ['warn', 140],
33+
'max-len': ['warn', length],
3234
'array-bracket-newline': ['error', 'consistent'],
3335
'function-call-argument-newline': ['error', 'consistent'],
3436
'comma-dangle': ['error', 'only-multiline'],
@@ -58,7 +60,7 @@ module.exports = {
5860
'padded-blocks': 'off',
5961
'implicit-arrow-linebreak': 'off',
6062

61-
// potentially revisit these later
63+
// Potentially revisit these later
6264
'curly': ['error', 'multi-line'],
6365
'no-alert': 'off',
6466
'camelcase': 'off',

php/class-contextual-help.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private function load_manage_help() {
118118
'overview',
119119
__( 'Overview', 'code-snippets' ),
120120
$this->get_intro_text() .
121-
__( 'Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting.', 'code-snippets' ),
121+
__( 'Here you can manage your existing snippets and perform tasks on them such as activating, deactivating, deleting and exporting.', 'code-snippets' )
122122
);
123123

124124
$this->add_help_tab(

0 commit comments

Comments
 (0)