aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-05-11 09:21:57 +0200
committerache <ache@ache.one>2018-05-11 09:21:57 +0200
commit9dd63baee2b06b0787dea3a707200eb57ac8eb48 (patch)
tree37b1a8e34e54b2290458963ac15899f22a5a7d55 /package.json
parentAdd tokenizeGenerator (diff)
Add xo linter
Diffstat (limited to 'package.json')
-rw-r--r--package.json20
1 files changed, 18 insertions, 2 deletions
diff --git a/package.json b/package.json
index 4d53d0d..9e92a6d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "remark-attr",
- "version": "0.1.0",
+ "version": "0.4.1",
"description": "Add support of custom attributes to Markdown syntax.",
"main": "index.js",
"scripts": {
@@ -20,5 +20,21 @@
"bugs": {
"url": "https://github.com/arobase-che/remark-attr/issues"
},
- "homepage": "https://github.com/arobase-che/remark-attr#readme"
+ "homepage": "https://github.com/arobase-che/remark-attr#readme",
+ "devDependencies": {
+ "xo": "^0.21.0"
+ },
+ "xo": {
+ "space": true,
+ "rules": {
+ "comma-dangle": [
+ "error",
+ "always-multiline"
+ ]
+ }
+ },
+ "dependencies": {
+ "html-element-attributes": "^1.3.1",
+ "md-attr-parser": "^1.1.5"
+ }
}