Skip to content

Commit

Permalink
feat(boxen): title in boxen
Browse files Browse the repository at this point in the history
  • Loading branch information
saiichihashimoto committed Jan 12, 2024
1 parent b3b6c3f commit b69959e
Show file tree
Hide file tree
Showing 6 changed files with 661 additions and 79 deletions.
22 changes: 21 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,19 @@
"import/extensions": ["error", "never"],
"import/no-absolute-path": "error",
"import/no-amd": "error",
"import/no-anonymous-default-export": "error",
"import/no-anonymous-default-export": [
"error",
{
"allowArray": true,
"allowArrowFunction": false,
"allowAnonymousClass": false,
"allowAnonymousFunction": false,
"allowCallExpression": true,
"allowNew": true,
"allowLiteral": true,
"allowObject": true
}
],
"import/no-commonjs": "error",
"import/no-cycle": "error",
"import/no-deprecated": "error",
Expand Down Expand Up @@ -248,6 +260,7 @@
],
"import/no-commonjs": "off",
"node/exports-style": ["error", "module.exports"],
"node/no-unsupported-features/es-syntax": "off",
"unicorn/prefer-module": "off"
}
},
Expand Down Expand Up @@ -446,6 +459,13 @@
]
}
},
{
"files": "lint-staged.config.js",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
}
},
{
"files": ["**/*"],
"extends": ["prettier"]
Expand Down
4 changes: 1 addition & 3 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const prettierCmd = `prettier --ignore-unknown --write --cache`;
/**
* @type {import('lint-staged').Config}
*/
const config = {
export default {
"*.{gif,jpeg,jpg,png,svg}": ["imagemin-lint-staged"],
"*.{js,jsx,ts,tsx}": [eslintCmd],
"*": [prettierCmd],
Expand All @@ -16,5 +16,3 @@ const config = {
"{.env*,.gitattributes}": (files) =>
files.map((file) => `sort -o ${file} ${file}`),
};

module.exports = config;
Loading

0 comments on commit b69959e

Please sign in to comment.