Skip to content

Commit

Permalink
Drop support for Node.js v12 (#1847)
Browse files Browse the repository at this point in the history
* Drop support for Node.js v12

* Use ecmaVersion: 'latest'
  • Loading branch information
ota-meshi committed May 11, 2022
1 parent 2936553 commit 58cb406
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
7 changes: 1 addition & 6 deletions .circleci/config.yml
Expand Up @@ -5,7 +5,6 @@ workflows:
- eslint-v6
- eslint-v7
- ts-eslint-v4
- node-v12
- node-v14
- node-v16
- lint
Expand Down Expand Up @@ -36,7 +35,7 @@ jobs:

eslint-v6:
docker:
- image: node:12
- image: node:14
steps:
- run:
name: Versions
Expand Down Expand Up @@ -88,10 +87,6 @@ jobs:
- run:
name: Test
command: npm test
node-v12:
<<: *node-base
docker:
- image: node:12
node-v14:
<<: *node-base
docker:
Expand Down
4 changes: 2 additions & 2 deletions .eslintrc.js
Expand Up @@ -3,7 +3,7 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2018
ecmaVersion: 'latest'
},
env: {
es6: true,
Expand Down Expand Up @@ -137,7 +137,7 @@ module.exports = {
files: ['./**/*.vue'],
parser: require.resolve('vue-eslint-parser'),
parserOptions: {
ecmaVersion: 2020,
ecmaVersion: 'latest',
sourceType: 'module'
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/components/eslint-code-block.vue
Expand Up @@ -90,7 +90,7 @@ export default {
rules: this.rules,
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 2020,
ecmaVersion: 'latest',
sourceType: 'module',
ecmaFeatures: {
jsx: true
Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/README.md
Expand Up @@ -23,7 +23,7 @@ yarn add -D eslint eslint-plugin-vue
::: tip Requirements

- ESLint v6.2.0 and above
- Node.js v12.22.x, v14.17.x, v16.x and above
- Node.js v14.17.x, v16.x and above

:::

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -48,7 +48,7 @@
"url": "https://github.com/vuejs/eslint-plugin-vue/issues"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
"node": "^14.17.0 || >=16.0.0"
},
"peerDependencies": {
"eslint": "^6.2.0 || ^7.0.0 || ^8.0.0"
Expand Down

0 comments on commit 58cb406

Please sign in to comment.