diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..22d0d82 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +vendor diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000..51b8aeb --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,3 @@ +// Import the default config file and expose it in the project root. +// Useful for editor integrations. +module.exports = require( '@wordpress/prettier-config' ); diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 0000000..022b988 --- /dev/null +++ b/.stylelintignore @@ -0,0 +1,2 @@ +node_modules +vendor diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..c7a2d1d --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,25 @@ +{ + "extends": "@wordpress/stylelint-config/scss", + "rules": { + "at-rule-empty-line-before": null, + "at-rule-no-unknown": null, + "comment-empty-line-before": null, + "font-weight-notation": null, + "max-line-length": null, + "no-descending-specificity": null, + "rule-empty-line-before": null, + "selector-class-pattern": null, + "value-keyword-case": null, + "scss/operator-no-unspaced": null, + "scss/selector-no-redundant-nesting-selector": null, + "scss/at-import-partial-extension": null, + "scss/no-global-function-names": null, + "scss/comment-no-empty": null, + "scss/at-extend-no-missing-placeholder": null, + "scss/operator-no-newline-after": null, + "scss/at-if-closing-brace-newline-after": null, + "scss/at-else-empty-line-before": null, + "scss/at-if-closing-brace-space-after": null, + "no-invalid-position-at-import-rule": null + } +}