Fix linting errors

This commit is contained in:
Pig Fang 2019-03-15 16:50:16 +08:00
parent 1a16ca2096
commit 6778fc6d08
6 changed files with 4 additions and 22 deletions

View File

@ -53,7 +53,6 @@
"eslint": "^5.14.0",
"eslint-config-gplane": "^5.1.3",
"eslint-formatter-beauty": "^3.0.0",
"eslint-import-resolver-jest": "^2.1.1",
"eslint-plugin-vue": "^5.2.2",
"file-loader": "^3.0.1",
"jest": "^24.1.0",
@ -101,11 +100,6 @@
"globals": {
"blessing": "readonly"
},
"settings": {
"import/resolver": {
"jest": {}
}
},
"rules": {
"camelcase": [
2,

View File

@ -1,3 +1,4 @@
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable global-require */
module.exports = {
plugins: [

View File

@ -1,5 +1,4 @@
import './jquery' // jQuery first
import 'bootstrap'
import 'admin-lte'
import 'icheck'
import Vue from 'vue'

View File

@ -1,3 +1,4 @@
/* eslint-disable import/no-extraneous-dependencies */
import 'jest-extended'
import Vue from 'vue'

View File

@ -1,3 +1,4 @@
/* eslint-disable import/no-extraneous-dependencies */
const webpack = require('webpack')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')

View File

@ -2839,15 +2839,6 @@ eslint-formatter-beauty@^3.0.0:
code-excerpt "^2.1.1"
log-symbols "^2.2.0"
eslint-import-resolver-jest@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-jest/-/eslint-import-resolver-jest-2.1.1.tgz#78c1934e3b5b77283326f036e089cc3b9fae6346"
integrity sha512-yzzZFN37CaMaCjmUZ4Zo7Pw5qCG/hDklVzxIeHYJZkbcdg0sL5MeLaOG8s3ndVBvv1PSdSq4jfkY0QXt/KPbTg==
dependencies:
find-root "^1.0.0"
micromatch "^3.1.6"
resolve "^1.5.0"
eslint-import-resolver-node@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a"
@ -3356,11 +3347,6 @@ find-cache-dir@^2.0.0:
make-dir "^1.0.0"
pkg-dir "^3.0.0"
find-root@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4"
integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==
find-up@^2.0.0, find-up@^2.1.0:
version "2.1.0"
resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7"
@ -5224,7 +5210,7 @@ micromatch@^2.3.11:
parse-glob "^3.0.4"
regex-cache "^0.4.2"
micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.6, micromatch@^3.1.8, micromatch@^3.1.9:
micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8, micromatch@^3.1.9:
version "3.1.10"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
dependencies: