diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..7306c25 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,15 @@ +/* eslint-env node */ +module.exports = { + extends: ['eslint:recommended', 'prettier', 'plugin:mdx/recommended', 'plugin:prettier/recommended'], + parserOptions: { + ecmaVersion: 2015 + }, + settings: { + 'mdx/code-blocks': true, + 'mdx/language-mapper': {} + }, + ignorePatterns: ['node_modules/', 'package.json', 'pnpm-lock.yaml'], + rules: { + 'react/jsx-no-undef': 'off' + } +}; diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..afcf001 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +/node_modules +/.pnp +.pnp.js +.eslintcache +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..d38cc19 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +**/node_modules +pnpm-lock.yaml diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 0000000..b46d3d9 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,8 @@ +module.exports = { + tabWidth: 2, + singleQuote: true, + semi: true, + trailingComma: 'none', + printWidth: 120, + endOfLine: 'auto' +}; diff --git a/.prettierrc.precommit.js b/.prettierrc.precommit.js new file mode 100644 index 0000000..ec37d0c --- /dev/null +++ b/.prettierrc.precommit.js @@ -0,0 +1,4 @@ +module.exports = { + ...require('./.prettierrc'), + organizeImportsSkipDestructiveCodeActions: false +}; diff --git a/2023-03-10.mdx b/2023-03-10.mdx index 85ffc0c..288cfc3 100644 --- a/2023-03-10.mdx +++ b/2023-03-10.mdx @@ -12,16 +12,16 @@ date: 03-10-2023 - Fixed pasting behaviour when a cell is in edit more. It used to overwrite the whole cell, now it correctly appends to the existing text. - Several fixes around column constraints: - - Users can set default value without setting `notNull: true` - - Users can enter invalid constraint combinations but are presented with a clear error about what they did wrong. - - Switching column type resets unique, `notNull` and default value to an allowed value if it's unsupported. + - Users can set default value without setting `notNull: true` + - Users can enter invalid constraint combinations but are presented with a clear error about what they did wrong. + - Switching column type resets unique, `notNull` and default value to an allowed value if it's unsupported. - Prevent two table cells from being selected in some scenarios. There was a bug when data had changed in the grid and you let your browser tab lose and regain focus. - Fixed copy paste null string values in table - More minor cell editing bug fixes - Small design issues cleanup across the app - - right input padding for table inputs - - clickable table headers in the schema page - - scrollable branch list + - right input padding for table inputs + - clickable table headers in the schema page + - scrollable branch list