Skip to content

Commit

Permalink
Remove tsdx & update testing setup
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwarning committed Feb 8, 2024
1 parent 3905d9b commit ec7e113
Show file tree
Hide file tree
Showing 17 changed files with 8,148 additions and 25,667 deletions.
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.3.0/schema.json",
"$schema": "https://unpkg.com/@changesets/config@latest/schema.json",
"access": "public",
"baseBranch": "main",
"changelog": [
"@changesets/changelog-github",
"@zazen/changesets-changelog",
{ "repo": "stormwarning/tailwindcss-capsize" }
],
"commit": false,
Expand Down
41 changes: 41 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/** @type {import('eslint').Linter.Config} */
const config = {
extends: [
'@zazen',
'@zazen/eslint-config/node',
'@zazen/eslint-config/typescript',
],
env: {
node: true,
},
rules: {
/**
* @todo [@zazen/eslint-config@>6.7.0] Remove this rule when it's included in the base config.
*/
'unicorn/switch-case-braces': ['error', 'avoid'],
},
overrides: [
{
// Jest config
files: [
'**/__tests__/**/*.{js,ts,tsx}',
'**/*.@(spec|test).{js,ts,tsx}',
],
env: {
jest: true,
},
rules: {
'import/no-extraneous-dependencies': 'off',
},
},
{
files: ['**/*.d.ts'],
rules: {
// Prevent conflicts with `import/no-mutable-exports`.
'prefer-let/prefer-let': 'off',
},
},
],
}

module.exports = config
24 changes: 0 additions & 24 deletions .eslintrc.js

This file was deleted.

Loading

0 comments on commit ec7e113

Please sign in to comment.