Skip to content

Commit 65b68ae

Browse files
committed
fix: after update dep
1 parent ce20fdb commit 65b68ae

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

.editorconfig

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,11 @@ charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
1010

11-
[*.{json,yml,jade,pss,css,html}]
11+
[{package.json,*.yml,*.jade,*.pss,*.css,*.js,*.md,.*}]
1212
indent_size = 2
1313

14-
[*.html]
15-
insert_final_newline = false
16-
17-
[changelog.md]
14+
[{changelog.md,.*}]
1815
insert_final_newline = false
1916

2017
[*.md]
21-
trim_trailing_whitespace = false
18+
trim_trailing_whitespace = false

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"eslint-formatter-pretty": "^3.0.1",
6262
"eslint-plugin-ava": "^10.2.0",
6363
"eslint-plugin-babel": "^5.3.0",
64-
"eslint-plugin-dependencies": "^2.4.0",
6564
"eslint-plugin-html": "^6.0.0",
6665
"eslint-plugin-markdown": "^1.0.2",
6766
"eslint-plugin-unicorn": "^18.0.1",
@@ -116,7 +115,6 @@
116115
"eslintConfig": {
117116
"parser": "babel-eslint",
118117
"plugins": [
119-
"dependencies",
120118
"html",
121119
"ava",
122120
"unicorn",
@@ -130,7 +128,8 @@
130128
"xo-space"
131129
],
132130
"rules": {
133-
"capitalized-comments": "off"
131+
"capitalized-comments": "off",
132+
"unicorn/prevent-abbreviations": "off"
134133
}
135134
},
136135
"clinton": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import nanoid from 'nanoid';
1+
import {nanoid} from 'nanoid';
22
import isUrl from 'is-url';
33
import queryString from 'query-string';
44
import normalizeUrl from 'normalize-url';

test/test-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import posthtml from 'posthtml';
33
import parser from 'posthtml-parser';
44
import isPromise from 'is-promise';
55
import queryString from 'query-string';
6-
import nanoid from 'nanoid';
6+
import {nanoid} from 'nanoid';
77
import plugin from '../src';
88

99
function processing(html, options) {

0 commit comments

Comments
 (0)