Skip to content

Commit dcf1c69

Browse files
committed
Add update to be more like other plugins
1 parent 6c74d02 commit dcf1c69

11 files changed

Lines changed: 1044 additions & 4488 deletions

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/*/*.js
2-
/*/*.map
31
node_modules
42
npm-debug.log
53
status

.npmignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
/**/*.coffee
2-
Gruntfile.js
31
test
42
status

.prettierrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"bracketSpacing": true,
5+
"bracketSameLine": true,
6+
"arrowParens": "avoid",
7+
"printWidth": 120
8+
}

AUTHORS.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Authors ordered by first contribution
2+
3+
Ward Cunningham <ward@c2.com>
4+
Paul Rodwell <paul.rodwell@btinternet.com>
5+
decaffeinate <paul.rodwell@btinternet.com>
6+
Nick Niemeir <nick.niemeir@gmail.com>

ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This plugin, type: plugmatic, extends the markup of the federated wiki.
55
## Build
66

77
npm install
8-
grunt build
8+
99

1010
## License
1111

eslint.config.mjs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import globals from 'globals'
2+
import pluginJs from '@eslint/js'
3+
4+
/** @type {import('eslint').Linter.Config[]} */
5+
export default [
6+
pluginJs.configs.recommended,
7+
{
8+
rules: {
9+
'no-unused-vars': 'warn',
10+
},
11+
},
12+
{
13+
languageOptions: {
14+
globals: {
15+
wiki: 'readonly',
16+
...globals.browser,
17+
...globals.jquery,
18+
...globals.mocha,
19+
},
20+
},
21+
},
22+
]

gruntfile.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)