Clean up packages and old references to eslint config (#158)
* Update dependencies and configuration files - Upgrade Lucide React to version 0.475.0 - Update Markdoc to version 0.5.0 - Bump ESLint to version 9.20.0 - Update Tailwind CSS to version 4.0.5 - Add import-in-the-middle to Sentry package - Remove import-in-the-middle and require-in-the-middle from web app - Update browserslist configuration - Remove eslintConfig from web app package.json - Add ESLint configuration template for package generator
This commit is contained in:
committed by
GitHub
parent
95d27aa85b
commit
f5a961f155
3
turbo/generators/templates/package/eslint.config.mjs.hbs
Normal file
3
turbo/generators/templates/package/eslint.config.mjs.hbs
Normal file
@@ -0,0 +1,3 @@
|
||||
import eslintConfigBase from '@kit/eslint-config/base.js';
|
||||
|
||||
export default eslintConfigBase;
|
||||
@@ -37,6 +37,11 @@ export function createPackageGenerator(plop: PlopTypes.NodePlopAPI) {
|
||||
path: 'packages/{{ name }}/tsconfig.json',
|
||||
templateFile: 'templates/package/tsconfig.json.hbs',
|
||||
},
|
||||
{
|
||||
type: 'add',
|
||||
path: 'packages/{{ name }}/eslint.config.mjs',
|
||||
templateFile: 'templates/package/eslint.config.mjs.hbs',
|
||||
},
|
||||
{
|
||||
type: 'add',
|
||||
path: 'packages/{{ name }}/index.ts',
|
||||
|
||||
@@ -24,10 +24,5 @@
|
||||
"@kit/prettier-config": "workspace:*",
|
||||
"@kit/tsconfig": "workspace:*"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"@kit/eslint-config/base"
|
||||
]
|
||||
},
|
||||
"prettier": "@kit/prettier-config"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user