1
+ {
2
+ "root": true,
3
+ "env": {
4
+ "browser": true
5
+ },
6
+ "extends": "plugin:@wordpress/eslint-plugin/recommended",
7
+ "parserOptions": {
8
+ "ecmaFeatures": {
9
+ "jsx": true
10
+ },
11
+ "ecmaVersion": "latest"
12
+ },
13
+ "ignorePatterns": ["**/vendor/**", "**/build/**", "**/*.min.js", "**/node_modules/**"],
14
+ "rules": {
15
+ "@wordpress/i18n-text-domain": ["error", {
16
+ "allowedTextDomain": ["feedzy-rss-feeds"]
17
+ }],
18
+ "@wordpress/i18n-no-flanking-whitespace": "error",
19
+ "@wordpress/data-no-store-string-literals": "error",
20
+ "@wordpress/wp-global-usage": "error",
21
+ "prettier/prettier": "warn",
22
+ "import/no-extraneous-dependencies": "warn",
23
+ "prefer-const": "warn",
24
+ "dot-notation": "warn",
25
+ "react/jsx-key": "warn",
26
+ "jsx-a11y/no-static-element-interactions": "warn",
27
+ "no-undef": "warn",
28
+ "object-shorthand": "warn",
29
+ "no-else-return": "warn",
30
+ "jsx-a11y/click-events-have-key-events": "warn",
31
+ "jsx-a11y/anchor-is-valid": "warn",
32
+ "camelcase": "warn",
33
+ "jsdoc/check-line-alignment": "warn",
34
+ "jsdoc/check-alignment": "warn",
35
+ "jsx-a11y/label-has-associated-control": "warn",
36
+ "react/no-unknown-property": "warn",
37
+ "@wordpress/no-unused-vars-before-return": "warn",
38
+ "jsdoc/empty-tags": "warn",
39
+ "no-lonely-if": "warn",
40
+ "no-var": "warn",
41
+ "no-unused-vars": "warn",
42
+ "no-console": "warn",
43
+ "jsx-a11y/alt-text": "warn",
44
+ "react/no-deprecated": "warn",
45
+ "jsx-a11y/no-noninteractive-element-interactions": "warn",
46
+ "jsx-a11y/no-autofocus": "warn",
47
+ "no-nested-ternary": "warn",
48
+ "jsdoc/require-param": "warn",
49
+ "jsdoc/require-returns-description": "warn",
50
+ "jsdoc/require-returns-type": "warn"
51
+ }
52
+ }
0 commit comments