Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the template to support the new full site edit #24

Merged
merged 264 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
0e2b8c7
general style refresh (also handles to be style with theme.json custo…
erikyo Feb 8, 2023
307953b
updated default page templates
erikyo Feb 8, 2023
6ee6065
adds g fonts json list
erikyo Feb 8, 2023
7f341a1
header sticky position
erikyo Feb 8, 2023
2b21366
enables border style and some other cool features
erikyo Feb 9, 2023
272e03e
a js module that fetch the g font api then return the fonts sorted by…
erikyo Feb 9, 2023
fe1bfc1
adds a module that generate the font list fetching the google api
erikyo Feb 9, 2023
ad2d225
appends the font json list to customizer (will be used to select the …
erikyo Feb 9, 2023
7dca126
switch to ts
erikyo Feb 9, 2023
97f141c
media and text custom style
erikyo Feb 9, 2023
6423370
avoid requesting fonts such as italic that cannot be requested at the…
erikyo Feb 10, 2023
c2bc152
env update
erikyo Feb 10, 2023
c764bc4
switch extension to ts
erikyo Feb 10, 2023
9064627
gutenberg blocks style update
erikyo Feb 10, 2023
787d46b
since the build is now done in the 'build' folder and has no subfolde…
erikyo Feb 10, 2023
99f2afd
customizer script that handles the font change updating the font weig…
erikyo Feb 10, 2023
f411817
cleanup
erikyo Feb 10, 2023
88a819e
imagemin output path moved to ./img (was ./dist/img)
erikyo Feb 10, 2023
d48e347
colors custom prop updated to match the wordpress one
erikyo Feb 10, 2023
332a6f8
add the capability to encode theme images into avif
erikyo Feb 11, 2023
53399ea
Make theme available for translation.
erikyo Feb 11, 2023
7d44a57
font customizer enhancement
erikyo Feb 11, 2023
6a6134c
a better wp-env configuration
erikyo Feb 11, 2023
032bc4f
wp-env config
erikyo Feb 11, 2023
3fb3d1c
removing as many properties as possible from the customizer in favor …
erikyo Feb 11, 2023
c5b4564
shrink the css by removing what is no longer needed since it can be d…
erikyo Feb 11, 2023
12bcacd
enhanced font families sorting
erikyo Feb 11, 2023
186de23
templates update (will remove the old php templates)
erikyo Feb 11, 2023
74d136a
font families sorting
erikyo Feb 11, 2023
f1587ae
add e2e testing
erikyo Feb 11, 2023
ee423ef
continuous integration
erikyo Feb 11, 2023
b2a2d6e
removes composer lock
erikyo Feb 11, 2023
67486b5
woocommerce - enqueue style only if needed + enhanced theme support c…
erikyo Feb 11, 2023
c5fd400
enhanced base style
erikyo Feb 11, 2023
1a32404
updated readme
erikyo Feb 11, 2023
d67f338
fix site editor font preview
erikyo Feb 11, 2023
ff11bd5
fix composer issues
erikyo Feb 11, 2023
40d71ac
spring-clean of old functions that are unused/unneeded with the new e…
erikyo Feb 11, 2023
a5644df
fixes avif output name
erikyo Feb 12, 2023
117d117
a better module functions documentation
erikyo Feb 12, 2023
6f643dd
adding some patterns (three card with icons images or covers)
erikyo Feb 12, 2023
c070516
footer credits component
erikyo Feb 12, 2023
a7bf3ec
breadcrumbs component
erikyo Feb 12, 2023
714fb7e
footer and header reworked template
erikyo Feb 12, 2023
0a6fe5d
move theme demo images into src/img/demo
erikyo Feb 12, 2023
a046293
dist file list (used to prepare theme zip)
erikyo Feb 12, 2023
685bc4a
reworked block patterns (the old were moved into /patterns/ and some …
erikyo Feb 12, 2023
6f2a32f
update js sources to ts
erikyo Feb 12, 2023
2ace40e
refining styles for fse
erikyo Feb 12, 2023
df467b5
adding functions docbloc
erikyo Feb 12, 2023
06adb86
adding some defaults to theme.json styles
erikyo Feb 12, 2023
51cab24
homepage and page default template updated
erikyo Feb 12, 2023
361ad6a
removes unused functions
erikyo Feb 12, 2023
d160ec9
fix webfont-loader version
erikyo Feb 12, 2023
b2e25fc
autoload template functions
erikyo Feb 12, 2023
343bea6
the single page template
erikyo Feb 12, 2023
b6568e7
tests/env updated
erikyo Feb 12, 2023
cdb4087
a better theme testing
erikyo Feb 12, 2023
64550b9
fix the default font loading
erikyo Feb 12, 2023
50f53c3
theme layout: homepage cards layout
erikyo Feb 12, 2023
c7ea86b
page/homepage hero patterns
erikyo Feb 13, 2023
c320417
page patterns (title headline, breadcrumbs)
erikyo Feb 13, 2023
e3b7b28
generally have cleaner markup now, I have fixed the image url and the…
erikyo Feb 13, 2023
9e5ad95
template type page
erikyo Feb 13, 2023
0afa189
footer credits pattern
erikyo Feb 13, 2023
470aa71
breadcrumbs shortcode -> pattern
erikyo Feb 13, 2023
82a7771
update env/tests
erikyo Feb 13, 2023
39f5b7c
base website components (header and footer) html parts updated
erikyo Feb 13, 2023
f41f58b
cleanup old useless functions / lint
erikyo Feb 13, 2023
c5ad97d
fixes initial (after theme install) font weight that is set to 0
erikyo Feb 13, 2023
b20a4c3
masonry gallery pattern style
erikyo Feb 13, 2023
10592b2
core/navigation and core/site-title basic style
erikyo Feb 13, 2023
c874d36
patterns custom style
erikyo Feb 13, 2023
4646015
lint and fix php code with phpcs/phpbf
erikyo Feb 13, 2023
fd48fd9
wordpress env config
erikyo Feb 13, 2023
56cc8cd
hero with the svg animated wave
erikyo Feb 14, 2023
08529dd
hero title alignment
erikyo Feb 14, 2023
f41bbae
removes duplicated color definition since the palette colors are alre…
erikyo Feb 14, 2023
79d5c31
adding a header with the portrait layout
erikyo Feb 14, 2023
1471f5d
updated theme env - note: i'm gonna use a fork of wp-scripts
erikyo Feb 14, 2023
9c3dcb5
fix for header height detection
erikyo Feb 14, 2023
b351395
page headline style
erikyo Feb 14, 2023
115a1fd
adds the patterns custom stylesheet to main styles
erikyo Feb 14, 2023
fb66e6d
theme json support for the new templates parts
erikyo Feb 14, 2023
c2b7632
adds the css custom props to site editor
erikyo Feb 14, 2023
423f5cc
better fitting for animated svg backgrounds
erikyo Feb 14, 2023
ed5cecc
adding the custom patterns style (traversal-clip + wave-clip)
erikyo Feb 14, 2023
5142084
masonry gallery
erikyo Feb 14, 2023
1f20f64
add the lightbox script
erikyo Feb 14, 2023
9a4da0d
homepage now uses the animated cover
erikyo Feb 14, 2023
bb9dab5
Reworking js script
erikyo Feb 14, 2023
ecd79d0
adding slider (blaze-slider)
erikyo Feb 14, 2023
b16136d
adding columns support to slider (1 column = 1 slide displayed // 5 c…
erikyo Feb 14, 2023
a31c47d
lightbox script export + separated style
erikyo Feb 15, 2023
2c971cd
slider script export + separated style
erikyo Feb 15, 2023
87a2355
Scroll control script export
erikyo Feb 15, 2023
a7a052d
fire all the theme script using a single event
erikyo Feb 15, 2023
2f656f3
a better home page that shows some features
erikyo Feb 15, 2023
fa321c8
adding support fdr outlined text
erikyo Feb 15, 2023
04f7130
zip filelist
erikyo Feb 15, 2023
7b043be
remove the group that was wrapping cards (isn't useful since alignmen…
erikyo Feb 15, 2023
62d424d
template header and footer responsive side margins
erikyo Feb 15, 2023
c2b5bdd
animated hero V-height adjustments
erikyo Feb 15, 2023
cf752f2
site navigations styles
erikyo Feb 15, 2023
939ad74
a better way to handle font registration // moves the font folder ins…
erikyo Feb 15, 2023
80953ed
footer template update
erikyo Feb 15, 2023
6540321
will fix failing tests
erikyo Feb 16, 2023
05c1392
style update (remove unused code // a better editor style that merges…
erikyo Feb 16, 2023
9b43f45
(new) madia and bold text pattern
erikyo Feb 16, 2023
384cf5a
hero component update
erikyo Feb 16, 2023
ce14786
template parts update
erikyo Feb 16, 2023
157d005
dequeue jquery
erikyo Feb 16, 2023
01ec220
styles enqueue sorting / reduce round-trips
erikyo Feb 16, 2023
45978f8
(╯°□°)╯︵ ┻━┻
erikyo Feb 16, 2023
8ca61cb
moved to enqueue-styles.php + lint
erikyo Feb 16, 2023
0211567
three-little-cards pattern + card style
erikyo Feb 16, 2023
cde9555
automatic homepage screenshot
erikyo Feb 16, 2023
dcf45c0
release command script
erikyo Feb 16, 2023
b965a94
makepot isn't available in ci environment so I remove it from build test
erikyo Feb 16, 2023
939db41
fix for local environment testing and publishing
erikyo Feb 16, 2023
2831e99
masonry like query loop
erikyo Feb 16, 2023
bf20f8c
refining cards template with rows
erikyo Feb 16, 2023
212a827
footer credits section responsive style fix
erikyo Feb 16, 2023
6d552ef
header position block style
erikyo Feb 16, 2023
2f05c39
single product template
erikyo Feb 16, 2023
f1bc9d7
sidebar template
erikyo Feb 16, 2023
73f2f79
cards promo pattern
erikyo Feb 16, 2023
b714ba9
Post card pattern
erikyo Feb 16, 2023
680eeaf
styles adjustments
erikyo Feb 16, 2023
73555ac
updated start script
erikyo Feb 17, 2023
1bf760a
sidebar
erikyo Feb 17, 2023
4de256f
header position update
erikyo Feb 17, 2023
f8e2769
woo templates (with sidebar)
erikyo Feb 17, 2023
1294ace
new env files (thanks @johnhooks)
erikyo Feb 27, 2023
dac919c
removes the service worker (moved into a separate plugin)
erikyo Feb 27, 2023
4d8dc80
removes unused deps
erikyo Feb 27, 2023
8f210ad
updated path + header position fix
erikyo Feb 27, 2023
bc99c3b
removes unused deps
erikyo Feb 28, 2023
96d84ac
adds some types to the old js scripts
erikyo Feb 28, 2023
ab495f1
will emit images into /img/ (before was /build/img but was not a good…
erikyo Feb 28, 2023
9d7638b
page hero margins fix
erikyo Feb 28, 2023
1ff2a89
template parts updated
erikyo Mar 5, 2023
357968b
in this way Composer is no longer required to build the theme
erikyo Mar 5, 2023
129f5f9
sidebar template
erikyo Mar 5, 2023
0a03dd2
chore: rename block style
erikyo Mar 5, 2023
d6a159f
footer style
erikyo Mar 5, 2023
1516ade
homepage
erikyo Mar 5, 2023
f36cf94
chore: rename breadcrumbs block
erikyo Mar 5, 2023
a8d55a9
archive pages
erikyo Mar 5, 2023
39a5ca0
single pages
erikyo Mar 5, 2023
0ad2e39
navigation color
erikyo Mar 5, 2023
6a88166
website hero pattern
erikyo Mar 5, 2023
fd1877d
site title style updated
erikyo Mar 5, 2023
e7c89d9
header
erikyo Mar 5, 2023
8ea36c0
index page
erikyo Mar 5, 2023
0565ea6
test e2e update
erikyo Mar 5, 2023
17798d5
footer
erikyo Mar 5, 2023
222d815
card background fix (was transparent, now is blank)
erikyo Mar 5, 2023
176b2de
animation controller
erikyo Mar 6, 2023
4dcfdb0
improves the animation script types (and general refining it)
erikyo Mar 6, 2023
6feadc3
fixes type issue with lightbox
erikyo Mar 6, 2023
6254e44
eslint configuration update
erikyo Mar 6, 2023
b419bd0
adding animate.css
erikyo Mar 6, 2023
247ce56
add an inner margin to main centent
erikyo Mar 6, 2023
757b8ab
style update (injecting animate.css + some header change to navigatio…
erikyo Mar 6, 2023
d939a12
as john pointed out this is the right way to configure eslint
erikyo Mar 6, 2023
1ea9c64
better handling of "animated" state
erikyo Mar 6, 2023
29f24a9
font enqueue fix
erikyo Mar 8, 2023
9ea7c4e
comments template
erikyo Mar 8, 2023
1233a67
es lint rules updated
erikyo Mar 8, 2023
b2a2979
enqueue font stylesheet name ref
erikyo Mar 9, 2023
8518cbc
theme style variations
erikyo Mar 12, 2023
5e88da4
custom media and text that add the class to the image in order to add…
erikyo Mar 12, 2023
7b2f2a0
more general content for patterns
erikyo Mar 12, 2023
5f5e434
shows the home animation with the theme colors
erikyo Mar 12, 2023
a3d6415
in future I also have to enable the gap between slides
erikyo Mar 12, 2023
c867ccb
build + env updated
erikyo Mar 12, 2023
c0c6753
templates hero fixed
erikyo Mar 12, 2023
6bbf174
hero pattern updated to show the headline of the page/article
erikyo Mar 12, 2023
073a452
fixes php regex that replace the css class
erikyo Mar 12, 2023
3d0afc8
media and text pattern updated to use the new custom block
erikyo Mar 12, 2023
e4ea70a
removes the header tag (was doubled)
erikyo Mar 12, 2023
ef081d0
breakdown headline meta into a separate pattern
erikyo Mar 13, 2023
4cad157
hero height defaults fix
erikyo Mar 13, 2023
dffd1a3
makes the fixed header transparent at the top of the page
erikyo Mar 13, 2023
c9f7734
remove the old botched php customizations
erikyo Mar 13, 2023
3c90535
fixes the issue of colours so that they are in sync with the main style
erikyo Mar 13, 2023
6ac89ed
adding the theme colour to the theme.json file (the customiser was us…
erikyo Mar 13, 2023
d9ac781
animate once option
erikyo Mar 13, 2023
e6baa1e
enables an option to repeat animations
erikyo Mar 14, 2023
276ab55
fix double script enqueue
erikyo Mar 15, 2023
c5699f1
probably isn't no longer required to fix the view in ios in this way
erikyo Mar 15, 2023
b558a79
pattern style + animations
erikyo Mar 15, 2023
df83d25
this style probably will fit better with fse
erikyo Mar 15, 2023
4bb8f60
fixing homepage animation overflows (thanks to @johnhooks)
erikyo Mar 15, 2023
1a05b55
updated custom media text animations
erikyo Mar 16, 2023
506ebd4
updated animations script
erikyo Apr 20, 2023
69d7be0
switches to swiper slider
erikyo Apr 22, 2023
8cd8f9e
better typed animation script
erikyo Apr 22, 2023
f5e60a3
reshapes the font list
erikyo Apr 27, 2023
54a61eb
now selects the font weight at the middle of the available font weights
erikyo Apr 27, 2023
4e9c9ee
better typed font stuff
erikyo Apr 27, 2023
3e87a71
updated UI scripts
erikyo Apr 28, 2023
cd6b09e
stylelint config fix
erikyo Apr 28, 2023
2bf9470
enhanced slider element children deep selector
erikyo Apr 28, 2023
9ad42d8
updated env
erikyo Oct 31, 2023
3ecc8aa
moves scripts into modules
erikyo Oct 31, 2023
4a229b6
webpack splitChunks optimizations
erikyo Oct 31, 2023
6533b33
fix types and deps files cleanup
erikyo Oct 31, 2023
4a60069
quickfix import path
erikyo Nov 1, 2023
ab1abff
remove the image compression module (I did a npm module for that)
erikyo Nov 1, 2023
2c45daa
updated packages
erikyo Nov 1, 2023
1f8c785
added enqueue-fonts.php
gardenboi Nov 1, 2023
2b040b2
simplifies the template structure in order to get something workable …
erikyo Nov 2, 2023
fb81be7
fixed npm run test
gardenboi Nov 2, 2023
343c295
updated core template parts
erikyo Nov 3, 2023
756d5aa
patterns wip
erikyo Nov 3, 2023
18ba570
templates wip
erikyo Nov 3, 2023
cbe8db5
add the hero style
erikyo Nov 3, 2023
e8d0d4f
updated components style / typography extras
erikyo Nov 3, 2023
c8d8044
add the new stylesheet for patterns
erikyo Nov 3, 2023
c613e52
updated env
erikyo Nov 3, 2023
35b644b
wip font enqueue
erikyo Nov 3, 2023
2391b1a
updated scss includes to make the above-the-fold as free as possible
erikyo Nov 3, 2023
d04f761
fixes enqueue editor styles
erikyo Nov 3, 2023
6bf0260
puts the right class for scripts, according to block styles
erikyo Nov 3, 2023
a7c1a4e
moves the custom block to a separate folder
erikyo Nov 3, 2023
fb1ffb6
refining page/archives templates
erikyo Nov 3, 2023
b6e5058
template parts updated
erikyo Nov 4, 2023
a5de9be
adding the grid module
erikyo Nov 4, 2023
d1792e8
headline pattern update
erikyo Nov 4, 2023
16f7b7d
adds the scrollTo module
erikyo Nov 4, 2023
be7a7e2
prepare for dark mode
erikyo Nov 4, 2023
58d0021
updated readme
erikyo Nov 4, 2023
8474125
chore (updated deps, enqueue scrollTo)
erikyo Nov 4, 2023
6e2f603
wip pages
erikyo Nov 4, 2023
e62ec7c
theme base style update
erikyo Nov 4, 2023
84ac783
patterns style
erikyo Nov 4, 2023
32a2979
wip theme style
erikyo Nov 4, 2023
2342d8b
headline-container fix
erikyo Nov 4, 2023
1fbcf36
fix mobile menu (thanks to @johnhooks)
erikyo Nov 4, 2023
da1849a
grid module layout fix
erikyo Nov 4, 2023
416945d
responsive header / sticky
erikyo Nov 4, 2023
6aabe76
fixes wp adminbar position
erikyo Nov 4, 2023
2df8940
cleanup block styles
erikyo Nov 4, 2023
b4b0f43
fixes an issue with the grid element
erikyo Nov 4, 2023
26adaf3
footer alignment fix
erikyo Nov 4, 2023
8851059
404 page title weight change
erikyo Nov 4, 2023
b5387b8
updated file list (to pack the theme into a zip)
erikyo Nov 4, 2023
3262ed0
fixing margin and spaces for responsive
erikyo Nov 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .browserslistrc

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.js

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present

tests:
name: Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup environment to use the desired version of NodeJS
uses: actions/setup-node@v3

- name: Installing NPM dependencies
run: npm install

- name: Starting the WordPress Environment
run: npm run wp-env:start

- name: Running the tests
run: npm run test
36 changes: 35 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
# Logs
logs
*.log
npm-debug.log*

# Coverage directory used by tools like istanbul
coverage
artifacts

# Dependency directories
node_modules/
Thumbs.db
vendor/
build/
fonts/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Output of `npm pack`
*.tgz

# Output of `wp-scripts plugin-zip`
*.zip
*.z7

# dotenv environment variables file
.env

# Jetbrains editor config
.idea

#lockfile
/composer.lock
15 changes: 15 additions & 0 deletions .squash
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[path]
in = src/img
out = img

[.jpg]
compressor = mozjpeg
quality = 85
progressive = true

[.png]
compressor = webp
quality = 80

[.svg]
options = CleanupAttrs, RemoveDoctype, RemoveXMLProcInst, RemoveComments, RemoveMetadata, RemoveXMLNS, RemoveEditorsNSData, RemoveTitle, RemoveDesc, RemoveUselessDefs, RemoveEmptyAttrs, RemoveHiddenElems, RemoveEmptyContainers, RemoveEmptyText, RemoveUnusedNS, ConvertShapeToPath, SortAttrs, MergePaths, SortDefsChildren, RemoveDimensions, RemoveStyleElement, RemoveScriptElement, InlineStyles, removeViewBox, removeElementsByAttr, cleanupIDs, convertColors, removeRasterImages, removeUselessStrokeAndFill, removeNonInheritableGroupAttrs
10 changes: 10 additions & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"core": null,
"themes": ["./"],
"config": {
"WP_DEBUG": true,
"SCRIPT_DEBUG": true,
"FS_METHOD": "direct",
"WP_DEFAULT_THEME": "modul-r"
}
}
78 changes: 78 additions & 0 deletions .wpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0"?>
<ruleset name="WordPress Coding Standards based custom ruleset for your plugin">
<description>Generally-applicable sniffs for WordPress plugins.</description>

<arg name="cache"/>

<!-- Set the memory limit to 256M.
For most standard PHP configurations, this means the memory limit will temporarily be raised.
Ref: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#specifying-phpini-settings
-->
<ini name="memory_limit" value="256M"/>

<!-- How to scan -->
<!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
<!-- Annotated ruleset: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->

<arg value="sp"/> <!-- Show sniff and progress -->
<arg name="basepath" value="./"/><!-- Strip the file paths down to the relevant bit -->
<arg name="extensions" value="php"/>
<arg name="parallel" value="20"/><!-- Enables parallel processing when available for faster results. -->

<!-- Rules: Check PHP version compatibility -->
<!-- https://github.com/PHPCompatibility/PHPCompatibility#sniffing-your-code-for-compatibility-with-specific-php-versions -->
<config name="testVersion" value="5.6"/>

<!-- Rules: WordPress Coding Standards -->
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards -->
<!-- https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/wiki/Customizable-sniff-properties -->
<config name="minimum_supported_wp_version" value="7.1"/>

<!-- https://github.com/PHPCompatibility/PHPCompatibilityWP -->
<rule ref="PHPCompatibilityWP"/>

<rule ref="WordPress-Extra"/>
<rule ref="WPThemeReview"/>
<rule ref="WordPress-VIP-Go"/>
<rule ref="WordPressVIPMinimum"/>
<rule ref="WordPress-Docs"/>
<rule ref="VariableAnalysis"/>

<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="modul-r"/>
</property>
</properties>
</rule>

<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<element value="modul-r"/>
</property>
</properties>
</rule>

<rule ref="WordPress.WP.I18n">
<exclude name="WordPress.WP.I18n.NonSingularStringLiteralDomain"/>
</rule>

<!-- Exclude the 'empty' index files from some documentation checks - https://github.com/WordPress/WordPress-Coding-Standards/issues/451 -->
<rule ref="Squiz.Commenting.FileComment">
<exclude-pattern>*/index\.php</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.InlineComment.NoSpaceBefore">
<exclude-pattern>*/index\.php</exclude-pattern>
</rule>

<!-- What to scan -->
<file>.</file>
<exclude-pattern>/dist/*</exclude-pattern>
<exclude-pattern>/src/*</exclude-pattern>
<exclude-pattern>/node_modules/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>*.asset.php</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>

</ruleset>
38 changes: 0 additions & 38 deletions 404.php

This file was deleted.

45 changes: 0 additions & 45 deletions archive.php

This file was deleted.

Loading