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

Commit

Permalink
fix: wrong index file
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Dec 10, 2018
1 parent 1a735f0 commit f95cf1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/index.js
@@ -1,7 +1,9 @@
module.exports = {
rules: {
'no-env-in-context': require('./rules/no-env-in-context'),
'no-globals-in-created': require('./rules/no-globals-in-created'),
'no-this-in-fetch-data': require('./rules/no-this-in-fetch-data'),
'no-this-in-fetch': require('./rules/no-this-in-fetch')
'no-timing-in-fetch-data': require('./rules/no-timing-in-fetch-data')
},
configs: {
'base': require('./configs/base'),
Expand Down
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "ESLint plugin for Nuxt.js",
"author": "Clark Du <clarkdo@gmail.com>",
"license": "MIT",
"main": "index.js",
"main": "lib/index.js",
"homepage": "https://github.com/nuxt/eslint-plugin-nuxt#readme",
"bugs": {
"url": "https://github.com/nuxt/eslint-plugin-nuxt/issues"
Expand All @@ -18,6 +18,9 @@
"eslint",
"eslintplugin"
],
"files": [
"lib"
],
"scripts": {
"test": "jest --silent",
"lint": "eslint ./",
Expand Down

0 comments on commit f95cf1d

Please sign in to comment.