Skip to content

Commit

Permalink
feat(vuetify-package): remove eslint-local rules, move files around, …
Browse files Browse the repository at this point in the history
…finish setup
  • Loading branch information
johnleider committed Oct 26, 2018
1 parent bb3ef96 commit 96961d9
Show file tree
Hide file tree
Showing 34 changed files with 2,258 additions and 3,210 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ module.exports = {
'__REQUIRED_VUE__': true
},
plugins: [
'typescript',
'eslint-plugin-local-rules'
'typescript'
],
rules: {
// allow paren-less arrow functions
'arrow-parens': [2, 'as-needed'],
'local-rules/no-render-string-reference': 2,
// set maximum line characters
'max-len': [2, 140, 4, {
'ignoreUrls': true,
Expand Down
Empty file removed jest.config.js
Empty file.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
]
},
"devDependencies": {
"@mdi/font": "^2.6.95",
"@types/jest": "^23.3.2",
"chalk": "^2.4.1",
"dts-bundle": "^0.7.3",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/vuetify/dist/vuetify.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/vuetify/dist/vuetify.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/vuetify/dist/vuetify.min.js

Large diffs are not rendered by default.

File renamed without changes.
2 changes: 1 addition & 1 deletion packages/vuetify/es5/components/VTreeview/VTreeview.js.map

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions packages/vuetify/eslint-local-rules.js

This file was deleted.

38 changes: 38 additions & 0 deletions packages/vuetify/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
module.exports = {
verbose: false,
roots: [
'<rootDir>/test/unit',
'<rootDir>/test/integration'
],
moduleFileExtensions: [
'ts',
'js'
],
moduleDirectories: [
'node_modules'
],
moduleNameMapper: {
'^@/test$': '<rootDir>/test/index.js',
'^@/test/(.*)$': '<rootDir>/test/$1',
'^@/(.*)$': '<rootDir>/src/$1'
},
transform: {
'\\.(styl)$': 'jest-css-modules',
'.*\\.(j|t)s$': 'ts-jest'
},
mapCoverage: true,
collectCoverageFrom: [
'src/**/*.{js,ts,tsx}'
],
transformIgnorePatterns: [
'node_modules/(?!vue-router)'
],
snapshotSerializers: [
'jest-serializer-html'
],
globals: {
'ts-jest': {
'useBabelrc': true
}
}
}

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/vuetify/lib/components/VTreeview/VTreeview.js.map

Large diffs are not rendered by default.

43 changes: 3 additions & 40 deletions packages/vuetify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-local-rules": "^0.1.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
Expand Down Expand Up @@ -112,50 +111,14 @@
"webpack-dev-server": "^3.1.5",
"webpack-merge": "^4.1.4"
},
"dependencies": {},
"dependencies": {
"eslint-plugin-local-rules": "^0.1.0"
},
"peerDependencies": {
"vue": "^2.5.10"
},
"engines": {
"node": ">= 4.0.0",
"npm": ">= 3.0.0"
},
"jest": {
"verbose": false,
"roots": [
"<rootDir>/test/unit",
"<rootDir>/test/integration"
],
"moduleFileExtensions": [
"ts",
"js"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"^@/test$": "<rootDir>/test/index.js",
"^@/test/(.*)$": "<rootDir>/test/$1",
"^@/(.*)$": "<rootDir>/src/$1"
},
"transform": {
"\\.(styl)$": "jest-css-modules",
".*\\.(j|t)s$": "ts-jest"
},
"mapCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,ts,tsx}"
],
"transformIgnorePatterns": [
"node_modules/(?!vue-router)"
],
"snapshotSerializers": [
"jest-serializer-html"
],
"globals": {
"ts-jest": {
"useBabelrc": true
}
}
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VTreeview/VTreeview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '../../stylus/components/_treeview.styl'

// Types
import { VNode, VNodeChildrenArrayContents } from 'vue'
import { PropValidator } from '../../../node_modules/vue/types/options'
import { PropValidator } from 'vue/types/options'

// Components
import VTreeviewNode, { VTreeviewNodeProps } from './VTreeviewNode'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 96961d9

Please sign in to comment.