Skip to content

Commit 650551c

Browse files
author
ianjevans
committed
Adding lint config files.
1 parent 8677364 commit 650551c

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.eslintrc.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "standard",
3+
"rules": {
4+
"arrow-parens": ["error", "always"],
5+
"comma-dangle": ["error", {
6+
"arrays": "always-multiline",
7+
"objects": "always-multiline",
8+
"imports": "always-multiline",
9+
"exports": "always-multiline"
10+
}],
11+
"max-len": [1, 120, 2],
12+
"spaced-comment": "off"
13+
}
14+
}

.stylelintrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "stylelint-config-standard",
3+
"rules": {
4+
"comment-empty-line-before": null,
5+
"no-descending-specificity": null,
6+
}
7+
}

0 commit comments

Comments
 (0)