@baseplate-dev/tools 0.1.3 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -56,8 +56,6 @@ export const reactEslintConfig = tsEslint.config(
56
56
  rules: {
57
57
  // We use replace since it is not supported by ES2020
58
58
  'unicorn/prefer-string-replace-all': 'off',
59
- // Allow PascalCase for React components
60
- 'unicorn/filename-case': 'off',
61
59
  },
62
60
  },
63
61
  );
@@ -138,6 +138,12 @@ export function generateTypescriptEslintConfig(options = []) {
138
138
 
139
139
  // Disallow import relative packages (e.g., `import '../other-package/foo'`)
140
140
  'import-x/no-relative-packages': 'error',
141
+
142
+ // Use top-level type imports
143
+ 'import-x/consistent-type-specifier-style': [
144
+ 'error',
145
+ 'prefer-top-level',
146
+ ],
141
147
  },
142
148
  languageOptions: {
143
149
  ecmaVersion: 2022,
package/package.json CHANGED
@@ -1,7 +1,17 @@
1
1
  {
2
2
  "name": "@baseplate-dev/tools",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "Shared dev configurations for linting, formatting, and testing Baseplate projects",
5
+ "keywords": [
6
+ "development-tools",
7
+ "eslint",
8
+ "prettier",
9
+ "typescript",
10
+ "configuration",
11
+ "baseplate",
12
+ "full-stack",
13
+ "code-generation"
14
+ ],
5
15
  "homepage": "https://www.baseplate.dev",
6
16
  "repository": {
7
17
  "type": "git",