Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range 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: vuejs/eslint-plugin-vue
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a603614058732ae4e272cba3e8cd5132c52dae79
Choose a base ref
..
head repository: vuejs/eslint-plugin-vue
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 808762d3260526d74a2237f1daed4339f88175e5
Choose a head ref
Showing 864 changed files with 38,171 additions and 9,884 deletions.
35 changes: 29 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -41,10 +41,13 @@ jobs:
name: Versions
command: npm version
- checkout
- run:
name: Uninstall @stylistic/eslint-plugin
command: npm uninstall -D @stylistic/eslint-plugin
- run:
name: Install eslint@6
command: |
npm install --save-exact eslint@6.8.0
npm install --save-exact eslint@6.8.0 @typescript-eslint/parser@5
- run:
name: Install dependencies
command: npm install
@@ -59,10 +62,13 @@ jobs:
name: Versions
command: npm version
- checkout
- run:
name: Uninstall @stylistic/eslint-plugin
command: npm uninstall -D @stylistic/eslint-plugin
- run:
name: Install eslint@7
command: |
npm install eslint@7
npm install eslint@7 @typescript-eslint/parser@5
- run:
name: Install dependencies
command: npm install
@@ -78,27 +84,44 @@ jobs:
command: npm version
- checkout
- run:
name: Install @typescript-eslint/parser@4 eslint@7
name: Uninstall @stylistic/eslint-plugin
command: npm uninstall -D @stylistic/eslint-plugin
- run:
name: Install @typescript-eslint/parser@4 eslint@7 typescript@4.7
command: |
npm install @typescript-eslint/parser@^4 eslint@7
npm install @typescript-eslint/parser@4 eslint@7 typescript@4.7 --save-exact
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm test
node-v14:
<<: *node-base
docker:
- image: node:14
steps:
- run:
name: Versions
command: npm version
- checkout
- run:
name: Install @typescript-eslint/parser@5
command: |
npm install @typescript-eslint/parser@5 --save-exact
- run:
name: Install dependencies
command: npm install
- run:
name: Test
command: npm test
node-v16:
<<: *node-base
docker:
- image: node:16

lint:
docker:
- image: node:14
- image: node:16
steps:
- run:
name: Versions
8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

172 changes: 0 additions & 172 deletions .eslintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github:
- ota-meshi
- FloEdelmann
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ about: Create a report to help us improve

- **ESLint version:**
- **eslint-plugin-vue version:**
- **Vue version:**
- **Node version:**
- **Operating System:**

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/change.md
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ about: Request a change that is not a bug fix, rule change, or new rule

- **ESLint version:**
- **eslint-plugin-vue version:**
- **Vue version:**
- **Node version:**

**The problem you want to solve.**
53 changes: 50 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -5,6 +5,9 @@ on:
pull_request:
branches: [master]

permissions:
contents: read

jobs:
lint:
name: Lint
@@ -14,8 +17,6 @@ jobs:
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Packages
run: npm install --legacy-peer-deps
- name: Lint
@@ -25,8 +26,18 @@ jobs:
name: Test
strategy:
matrix:
node: [17, 18]
node: [18, 20]
os: [ubuntu-latest]
eslint: [8]
include:
# On next ESLint version
- eslint: ^9.0.0-0
node: 20
os: ubuntu-latest
# On old Node version
- eslint: 8
node: 17
os: ubuntu-latest

runs-on: ${{ matrix.os }}
steps:
@@ -38,5 +49,41 @@ jobs:
node-version: ${{ matrix.node }}
- name: Install Packages
run: npm install --legacy-peer-deps
- name: Install ESLint v${{ matrix.eslint }}
run: npm install --save-dev eslint@${{ matrix.eslint }} --legacy-peer-deps
- name: Test
run: npm test

test-for-ts-eslint-v5:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Packages
run: npm install --legacy-peer-deps
- name: Install typescript-eslint v5
run: npm install -D @typescript-eslint/parser
- name: Test
run: npm test

test-for-eslint-v8-without-eslint-stylistic:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
- name: Install Packages
run: npm install --legacy-peer-deps
- name: Uninstall @stylistic/eslint-plugin
run: npm uninstall -D @stylistic/eslint-plugin
- name: Install eslint v8
run: npm install -D eslint@8
- name: Test
run: npm test
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -7,5 +7,9 @@
/test.*
yarn.lock
yarn-error.log
docs/.vuepress/dist
/docs/.vitepress/dist
/docs/.vitepress/build-system/shim/eslint.mjs
/docs/.vitepress/build-system/shim/assert.mjs
/docs/.vitepress/.temp
/docs/.vitepress/cache
typings/eslint/lib/rules
1 change: 1 addition & 0 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
line-length: false
link-fragments: false
single-title: false
no-inline-html:
allowed_elements:
8 changes: 5 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"editor.tabSize": 2,
"eslint.options": {
"rulePaths": ["eslint-internal-rules"]
},
"eslint.experimental.useFlatConfig": true,
"eslint.validate": [
"javascript",
"javascriptreact",
@@ -16,4 +14,8 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
}
Loading