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

Commit f95cf1d

Browse files
committedDec 10, 2018
fix: wrong index file
1 parent 1a735f0 commit f95cf1d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎lib/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
module.exports = {
22
rules: {
3+
'no-env-in-context': require('./rules/no-env-in-context'),
4+
'no-globals-in-created': require('./rules/no-globals-in-created'),
35
'no-this-in-fetch-data': require('./rules/no-this-in-fetch-data'),
4-
'no-this-in-fetch': require('./rules/no-this-in-fetch')
6+
'no-timing-in-fetch-data': require('./rules/no-timing-in-fetch-data')
57
},
68
configs: {
79
'base': require('./configs/base'),

‎package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "ESLint plugin for Nuxt.js",
55
"author": "Clark Du <clarkdo@gmail.com>",
66
"license": "MIT",
7-
"main": "index.js",
7+
"main": "lib/index.js",
88
"homepage": "https://github.com/nuxt/eslint-plugin-nuxt#readme",
99
"bugs": {
1010
"url": "https://github.com/nuxt/eslint-plugin-nuxt/issues"
@@ -18,6 +18,9 @@
1818
"eslint",
1919
"eslintplugin"
2020
],
21+
"files": [
22+
"lib"
23+
],
2124
"scripts": {
2225
"test": "jest --silent",
2326
"lint": "eslint ./",

0 commit comments

Comments
 (0)
This repository has been archived.