Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 730e6a0

Browse files
aldarundclarkdo
authored andcommitted
feat: add eslint nuxt plugin (#199)
1 parent a5d09e4 commit 730e6a0

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

template/_.eslintrc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ module.exports = {
1111
parser: 'babel-eslint'
1212
},
1313
extends: [
14-
'@nuxtjs'<% if (prettier === 'yes'){ %>,
14+
'@nuxtjs',
15+
'plugin:nuxt/recommended'<% if (prettier === 'yes'){ %>,
1516
'plugin:prettier/recommended'<% } %>
1617
],<% if (prettier === 'yes'){ %>
1718
plugins: [

template/_package.json

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"eslint-plugin-import": ">=2.14.0",
6363
"eslint-plugin-jest": ">=21.24.1",
6464
"eslint-plugin-node": ">=7.0.1",
65+
"eslint-plugin-nuxt": ">=0.4.2",
6566
"eslint-plugin-promise": ">=4.0.1",
6667
"eslint-plugin-standard": ">=4.0.0",
6768
"eslint-loader": "^2.0.0",

test/snapshots/index.test.js.md

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ Generated by [AVA](https://ava.li).
185185
'eslint-plugin-import': '>=2.14.0',
186186
'eslint-plugin-jest': '>=21.24.1',
187187
'eslint-plugin-node': '>=7.0.1',
188+
'eslint-plugin-nuxt': '>=0.4.2',
188189
'eslint-plugin-promise': '>=4.0.1',
189190
'eslint-plugin-standard': '>=4.0.0',
190191
'eslint-plugin-vue': '^5.0.0',

test/snapshots/index.test.js.snap

8 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)