We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43810eb commit 683ee6bCopy full SHA for 683ee6b
config/.eslintrc.json
@@ -1,3 +1,3 @@
1
{
2
- "extends": [ "plugin:@wordpress/eslint-plugin/recommended" ]
+ "extends": "../eslint-config"
3
}
eslint-config.js
@@ -0,0 +1,23 @@
+module.exports = {
+ extends: ['plugin:@wordpress/eslint-plugin/recommended'],
+ parserOptions: {
4
+ requireConfigFile: false,
5
+ },
6
+ rules: {
7
+ 'prettier/prettier': [
8
+ 'error',
9
+ {
10
+ useTabs: true,
11
+ tabWidth: 4,
12
+ printWidth: 80,
13
+ singleQuote: true,
14
+ trailingComma: 'es5',
15
+ bracketSpacing: true,
16
+ parenSpacing: false,
17
+ bracketSameLine: false,
18
+ semi: true,
19
+ arrowParens: 'always',
20
21
+ ],
22
23
+};
0 commit comments