Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuetifyjs/eslint-config-vuetify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.2
Choose a base ref
...
head repository: vuetifyjs/eslint-config-vuetify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.3
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Nov 6, 2024

  1. fix(eslint): js vs ts configs (#21)

    Co-authored-by: John Leider <john@vuetifyjs.com>
    webdevnerdstuff and johnleider authored Nov 6, 2024
    Copy the full SHA
    d66b67a View commit details
  2. chore: release 2.0.3

    johnleider committed Nov 6, 2024
    Copy the full SHA
    6b1ec18 View commit details
Showing with 12 additions and 4 deletions.
  1. +2 −0 .gitignore
  2. +0 −2 index.mjs → index.js.mjs
  3. +7 −0 index.ts.mjs
  4. +3 −2 package.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/

.history/
2 changes: 0 additions & 2 deletions index.mjs → index.js.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import pluginVue from 'eslint-plugin-vue';
import globals from 'globals';
import vueTsEslintConfig from '@vue/eslint-config-typescript'

export default [
...pluginVue.configs['flat/essential'],
...vueTsEslintConfig(),
{
name: 'app/files-to-lint',
files: ['**/*.{js,mjs,jsx,ts,mts,tsx,vue}'],
7 changes: 7 additions & 0 deletions index.ts.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import vueTsEslintConfig from '@vue/eslint-config-typescript';
import config from './index.js.mjs';;

export default [
...vueTsEslintConfig(),
...config,
]
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "eslint-config-vuetify",
"version": "2.0.2",
"version": "2.0.3",
"description": "eslint config for vue.js projects",
"main": "index.mjs",
"main": "index.js.mjs",
"module": "index.ts.mjs",
"type": "module",
"repository": {
"type": "git",