diff --git a/.gitignore b/.gitignore index c2658d7..e98103e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,8 @@ +# Assorted junk dirs +cgi-bin/ +.well-known/ node_modules/ +public/ +public_dev/ +.cache/ +resources/ diff --git a/.markdownlintrc b/.markdownlintrc new file mode 100644 index 0000000..8983a69 --- /dev/null +++ b/.markdownlintrc @@ -0,0 +1,5 @@ +{ + "no-inline-html": false, + "first-line-h1": false, + "extends": "markdownlint/style/prettier" +} diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..60223c1 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +node_modules/ +layouts/ +* \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..46017e6 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,12 @@ +{ + "proseWrap": "always", + "overrides": [ + { + "files": "*.html", + "options": { + "printWidth": 140, + "singleAttributePerLine": true + } + } + ] +} diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 0000000..9b06a21 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,17 @@ +{ + "plugins": [ + "stylelint-scss", + "stylelint-selector-bem-pattern" + ], + "extends": [ + "stylelint-prettier/recommended", + "stylelint-config-standard-scss" + ], + "rules": { + "max-line-length": [ 80 ], + "plugin/selector-bem-pattern": { + "preset": "bem" + }, + "selector-class-pattern": null + } +} diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..c1b19b7 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,7 @@ +import pluginJs from "@eslint/js"; +import globals from "globals"; + +export default [ + {languageOptions: { globals: globals.browser }}, + pluginJs.configs.recommended, +];