Skip to content

Commit

Permalink
chore: add schema for configfile (#20)
Browse files Browse the repository at this point in the history
* feat: add schema

* feat: add postcss-preset folder
  • Loading branch information
leohxj authored Aug 28, 2019
1 parent 985d5a1 commit 434679f
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 25 deletions.
3 changes: 0 additions & 3 deletions .commitlintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
4 changes: 0 additions & 4 deletions .eslintrc.js

This file was deleted.

4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["@mjolnir/eslint-config/node", "plugin:prettier/recommended"],
"rules": {}
}
7 changes: 7 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "http://json.schemastore.org/huskyrc",
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
7 changes: 0 additions & 7 deletions .huskyrc.js

This file was deleted.

4 changes: 4 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "http://json.schemastore.org/lintstagedrc.schema",
"**/*.{js, ts}": ["prettier --write", "eslint --fix", "git add"]
}
4 changes: 0 additions & 4 deletions .lintstagedrc.js

This file was deleted.

6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"printWidth": 80,
"singleQuote": true,
"arrowParens": "always"
}
6 changes: 0 additions & 6 deletions .prettierrc.js

This file was deleted.

1 change: 1 addition & 0 deletions renovate.json → .renovaterc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json.schemastore.org/renovate",
"extends": [
"config:base",
":preserveSemverRanges",
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"name": "root",
"$schema": "http://json.schemastore.org/package",
"name": "mjolnir",
"description": "",
"private": true,
"workspaces": [
"packages/*"
Expand Down
File renamed without changes.
Empty file.
Empty file.

0 comments on commit 434679f

Please sign in to comment.