templates-patterns-collection
Last commit date
assets
3 weeks ago
beaver
1 year ago
e2e-tests
2 weeks ago
editor
1 year ago
elementor
1 year ago
includes
1 day ago
languages
1 day ago
migration
5 years ago
onboarding
1 day ago
shared
2 years ago
vendor
1 day ago
.browserslistrc
1 year ago
.eslintrc
1 year ago
AGENTS.md
2 weeks ago
CHANGELOG.md
1 day ago
CONTRIBUTING.md
2 years ago
README.md
1 day ago
phpstan.neon
3 weeks ago
readme.txt
1 day ago
templates-patterns-collection.php
1 day ago
yarn.lock
1 year ago
.eslintrc
43 lines
| 1 | { |
| 2 | "extends": [ "plugin:@wordpress/eslint-plugin/recommended" ], |
| 3 | "parserOptions": { |
| 4 | "allowImportExportEverywhere": true, |
| 5 | "ecmaFeatures": { |
| 6 | "jsx": true |
| 7 | }, |
| 8 | "sourceType": "module" |
| 9 | }, |
| 10 | "rules": { |
| 11 | "linebreak-style": [ |
| 12 | "error", |
| 13 | "unix" |
| 14 | ], |
| 15 | "quotes": [ |
| 16 | "error", |
| 17 | "single" |
| 18 | ], |
| 19 | "semi": [ |
| 20 | "error", |
| 21 | "always" |
| 22 | ], |
| 23 | "no-unused-vars": [ |
| 24 | "warn", { |
| 25 | "vars": "all", |
| 26 | "args": "after-used", |
| 27 | "ignoreRestSiblings": false |
| 28 | } |
| 29 | ], |
| 30 | "react/jsx-uses-react": "error", |
| 31 | "react/jsx-uses-vars": "error", |
| 32 | "no-alert": 0, |
| 33 | "no-nested-ternary": 0, |
| 34 | "prettier/prettier": "off", |
| 35 | "no-shadow": "warn", |
| 36 | "camelcase": "warn", |
| 37 | "@wordpress/i18n-text-domain": ["error", { |
| 38 | "allowedTextDomain": ["templates-patterns-collection"] |
| 39 | }] |
| 40 | }, |
| 41 | "ignorePatterns": ["**/vendor/**"] |
| 42 | } |
| 43 |