This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"singleQuote": true, | |
"semi": true, | |
"useTabs": false, | |
"tabWidth": 2, | |
"trailingComma": "all", | |
"bracketSameLine": false, | |
"printWidth": 100 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
'src/**/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}': 'eslint --cache', | |
'src/**/*.{ts,tsx,mts,cts}': ['tsc-files --noEmit', 'eslint --cache'], | |
'src/**/*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,json,md,css}': 'prettier --write ', | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"export default": { | |
"prefix": "ed", | |
"body": ["export { default } from './$0';"], | |
"description": "export default" | |
}, | |
"export all": { | |
"prefix": "ea", | |
"body": ["export * from './$0';"], | |
"description": "export default" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"format": "prettier --check \"**/*.(ts|tsx|cts|mts|js|jsx|cjs|mjs|json|md)\"", | |
"format:fix": "prettier --write \"**/*.(ts|tsx|cts|mts|js|jsx|cjs|mjs|json|md)\"", | |
"lint": "eslint src --ext .js,.jsx,.ts,.tsx", | |
} | |
} |