Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
root: true,
extends: [
'wordpress'
],
env: {
browser: false,
node: true
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2018,
ecmaFeatures: {
jsx: true
}
},
settings: {
react: {
pragma: 'wp'
}
}
};
24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,26 @@ node_modules
npm-debug.log
yarn-error.log
yarn.lock
pacakge-lock.json
package-lock.json
/vendor/*
!/vendor/scrivo
/vendor/scrivo/highlight.php/*

!/vendor/scrivo/highlight.php/Highlight/
/vendor/scrivo/highlight.php/Highlight/languages/*.json
!/vendor/scrivo/highlight.php/Highlight/languages/bash.json
!/vendor/scrivo/highlight.php/Highlight/languages/cpp.json # Like clike.
!/vendor/scrivo/highlight.php/Highlight/languages/css.json
!/vendor/scrivo/highlight.php/Highlight/languages/diff.json # Can be used instead of 'git' in Prism.
!/vendor/scrivo/highlight.php/Highlight/languages/go.json
!/vendor/scrivo/highlight.php/Highlight/languages/javascript.json # Also jsx.
!/vendor/scrivo/highlight.php/Highlight/languages/json.json
!/vendor/scrivo/highlight.php/Highlight/languages/markdown.json
!/vendor/scrivo/highlight.php/Highlight/languages/php.json
!/vendor/scrivo/highlight.php/Highlight/languages/python.json
!/vendor/scrivo/highlight.php/Highlight/languages/sql.json
!/vendor/scrivo/highlight.php/Highlight/languages/xml.json # Also markup/HTML.

!/vendor/scrivo/highlight.php/styles/
/vendor/scrivo/highlight.php/styles/*
!/vendor/scrivo/highlight.php/styles/default.css
2 changes: 1 addition & 1 deletion assets/blocks.style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

119 changes: 0 additions & 119 deletions assets/prism.css

This file was deleted.

17 changes: 0 additions & 17 deletions assets/prism.js

This file was deleted.

Loading