Skip to content

Commit 50880fa

Browse files
committed
Make prettier work
1 parent 06872df commit 50880fa

File tree

6 files changed

+167
-178
lines changed

6 files changed

+167
-178
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": [ "@wordpress/default" ]
3+
}

.editorconfig

-25
This file was deleted.

.eslintrc

+1-33
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,3 @@
11
{
2-
"extends": [
3-
"plugin:@wordpress/eslint-plugin/custom",
4-
"plugin:@wordpress/eslint-plugin/es5",
5-
"plugin:@wordpress/eslint-plugin/jsdoc"
6-
],
7-
"globals": {
8-
"document": "readonly",
9-
"location": "readonly",
10-
"window": "readonly",
11-
"navigator": "readonly",
12-
"wp": "readonly",
13-
"_": "readonly",
14-
"NodeList": "readonly",
15-
"Element": "readonly"
16-
},
17-
"rules": {
18-
"comma-dangle": "off",
19-
"indent": ["error", "tab"],
20-
"no-tabs": 0,
21-
"no-unused-vars": 0,
22-
"no-undef": 0
23-
},
24-
"parserOptions": {
25-
"ecmaVersion": 2017,
26-
"sourceType": "module",
27-
"ecmaFeatures": {
28-
"jsx": true,
29-
"modules": true
30-
}
31-
},
32-
"env": {
33-
"es6": true
34-
}
2+
"extends": [ "plugin:@wordpress/eslint-plugin/recommended" ]
353
}

0 commit comments

Comments
 (0)