repos / neovimcraft

website that makes it easy to find neovim plugins
git clone https://github.com/neurosnap/neovimcraft.git

commit
6fff441
parent
a50fc59
author
Eric Bower
date
2021-08-01 13:32:54 +0000 UTC
formatting
3 files changed,  +30, -30
M .eslintrc.cjs
+18, -18
 1@@ -1,20 +1,20 @@
 2 module.exports = {
 3-	root: true,
 4-	parser: '@typescript-eslint/parser',
 5-	extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
 6-	plugins: ['svelte3', '@typescript-eslint'],
 7-	ignorePatterns: ['*.cjs'],
 8-	overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
 9-	settings: {
10-		'svelte3/typescript': () => require('typescript')
11-	},
12-	parserOptions: {
13-		sourceType: 'module',
14-		ecmaVersion: 2019
15-	},
16-	env: {
17-		browser: true,
18-		es2017: true,
19-		node: true
20-	}
21+  root: true,
22+  parser: '@typescript-eslint/parser',
23+  extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
24+  plugins: ['svelte3', '@typescript-eslint'],
25+  ignorePatterns: ['*.cjs'],
26+  overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
27+  settings: {
28+    'svelte3/typescript': () => require('typescript'),
29+  },
30+  parserOptions: {
31+    sourceType: 'module',
32+    ecmaVersion: 2019,
33+  },
34+  env: {
35+    browser: true,
36+    es2017: true,
37+    node: true,
38+  },
39 };
M .prettierrc
+4, -4
 1@@ -1,6 +1,6 @@
 2 {
 3-	"singleQuote": true,
 4-    "trailingComma": 'all',
 5-    "arrowParens": 'always',
 6-	"printWidth": 100
 7+  "singleQuote": true,
 8+  "trailingComma": "all",
 9+  "arrowParens": "always",
10+  "printWidth": 100
11 }
M src/lib/plugin-view.svelte
+8, -8
 1@@ -41,18 +41,18 @@
 2     </Tooltip>
 3   </div>
 4   {#if isPlugin}
 5-  <div class="install">
 6-    <h3>packer</h3>
 7-    <pre><code>require('packer').startup(function()
 8+    <div class="install">
 9+      <h3>packer</h3>
10+      <pre><code>require('packer').startup(function()
11   use '{plugin.id}'
12 end)</code></pre>
13-  </div>
14-  <div class="install">
15-    <h3>paq</h3>
16-    <pre><code>require "paq" &lcub; 
17+    </div>
18+    <div class="install">
19+      <h3>paq</h3>
20+      <pre><code>require "paq" &lcub; 
21   '{plugin.id}'
22 &rcub;</code></pre>
23-  </div>
24+    </div>
25   {/if}
26   <hr />
27 </div>