Skip to content

Commit 8118cea

Browse files
committed
chore: minor cleanup
1 parent 8200974 commit 8118cea

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ module.exports = {
2424
// This is the primary language mode.
2525
primary: 'js',
2626

27-
// This is a canonical, human-friendly, reference that can be used the entire language. You can omit this if it's
28-
// the same value as `primary`.
27+
// This is a canonical, human-friendly, reference that can be used the entire language. You can
28+
// omit this if it's the same value as `primary`.
2929
canonical: 'javascript',
3030

3131
aliases: {
32-
// Any additional extension modes that this language might utilize or be known under (SQL variantes for example).
33-
// Consult the CodeMirror meta file for this list.
32+
// Any additional extension modes that this language might utilize or be known under (SQL
33+
// variants for example). Consult the CodeMirror meta file for this list.
3434
languageModeAlias: 'Language Name'
3535
},
3636
},

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@ Access to a full code Mirror instance. See configuration settings in the [`react
4545

4646
```js
4747
const syntaxHighlighter = require('@readme/syntax-highlighter');
48-
const ele = syntaxHighlighter('console.log("Hello, world!");', 'js', { ...opts, editable: true }, { ...editorProps });
48+
const ele = syntaxHighlighter(
49+
'console.log("Hello, world!");',
50+
'js',
51+
{ ...opts, editable: true },
52+
{ ...editorProps }
53+
);
4954
```
5055

5156
### Available Options

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ module.exports = {
1313
'^.+\\.jsx?$': 'babel-jest',
1414
},
1515
transformIgnorePatterns: [
16-
// Since `@readme/variable` doesn't ship any transpiled code, we need to transform it as we're running tests.
16+
// Since `@readme/variable` doesn't ship any transpiled code, we need to transform it as we're
17+
// running tests.
1718
'<rootDir>/node_modules/@readme/variable/^.+\\.jsx?$',
1819
],
1920
};

0 commit comments

Comments
 (0)