Skip to content

Commit 00e680a

Browse files
chris-lawtonzerolab
authored andcommitted
add tooling, add linting, set node to 16
1 parent 7d6f60c commit 00e680a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+17906
-347
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
static_compiled
3+
venv

.eslintrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
// See https://github.com/torchbox/eslint-config-torchbox for rules.
3+
extends: 'torchbox',
4+
};

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
.npm-debug.log
1414
media.old
1515
node_modules
16+
/wagtailio/static_compiled

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16

.prettierignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
static_compiled
2+
*.html
3+
venv
4+
.venv
5+
.git
6+
media
7+
node_modules
8+
static

.prettierrc.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# See https://prettier.io/docs/en/options.html.
2+
# Prettier also reads .editorconfig.
3+
printWidth = 80
4+
singleQuote = true
5+
quoteProps = 'consistent'
6+
trailingComma = 'all'
7+
arrowParens = 'always'
8+
proseWrap = 'preserve'
9+
vueIndentScriptAndStyle = true

.stylelintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## this line and any new rules added below will be removed when a new project is created
2+
wagtailio/static/sass/main.scss

.stylelintrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
// See https://github.com/torchbox/stylelint-config-torchbox for rules.
3+
extends: 'stylelint-config-torchbox',
4+
};

0 commit comments

Comments
 (0)