Evan You
b81d11e20c
fix: also lint nested js files starting with dot
2018-08-18 15:50:15 -04:00
Evan You
2669008ea2
v3.0.1
2018-08-16 12:10:33 -04:00
Evan You
d5fc227dc7
chore: pre release sync
2018-08-16 12:10:26 -04:00
Evan You
8189f201c3
fix(eslint): lint command should also lint config files starting with dot
...
close #2228
2018-08-15 18:34:55 -04:00
Haoqun Jiang
4a035e2fc1
fix: upgrade lint-staged to v7.2.2 ( #2183 )
...
closes #2165
2018-08-13 12:12:26 -04:00
Evan You
d96a794003
fix(eslint): always emit error when lintOnSave === error + improve docs
...
ref #2162
2018-08-11 15:38:43 -04:00
Evan You
394d534638
v3.0.0
2018-08-10 11:01:14 -04:00
Evan You
b221b48ca9
chore: pre release sync
2018-08-10 11:01:03 -04:00
Evan You
e075ccff36
v3.0.0-rc.12
2018-08-09 02:23:23 -04:00
Evan You
1d8bd6b217
chore: pre release sync
2018-08-09 02:23:17 -04:00
Evan You
67630d2f6c
v3.0.0-rc.11
2018-08-07 11:20:43 -04:00
Evan You
c4436f99ee
chore: pre release sync
2018-08-07 11:20:32 -04:00
Evan You
d494350fdb
chore: fix package homepage links [ci skip]
2018-08-07 11:17:23 -04:00
Guillaume Chau
316d476d6d
refactor: launch + more helpful error message
2018-08-06 19:07:05 +02:00
Guillaume Chau
185ae6d91e
fix: eslint plugin module loading in workspaces
2018-08-01 22:49:11 +02:00
Chris Fritz
1e10161e5d
fix(cli-plugin-eslint): remove base rules from ui ( #2029 )
2018-08-01 16:20:12 +02:00
Michał Sajnóg
7953d8300f
feat: rework eslint configuration tab to display all rules ( #2008 )
...
* feat(cli-plugin-eslint): Add configuration tab
* chore(vue-cli-plugin-eslint): Add missing translations, extract UI descriptors
* fix(vue-cli-plugin-eslint): Import rules from CWD
* feat(vue-cli-plugin-eslint): Add uncategorized category, add tests
* test(vue-cli-plugin-eslint): Add missing tests
* fix(vue-cli-plugin-eslint): Escape html from rules' descriptions
* chore(vue-cli): Add --ci flag in tests
* chore(vue-cli-plugin-eslint): Remove snapshot
2018-08-01 11:40:29 +02:00
Evan You
795393e60c
v3.0.0-rc.10
2018-07-30 18:19:13 -04:00
Evan You
392096af79
chore: pre release sync
2018-07-30 18:19:07 -04:00
Evan You
63407bd268
v3.0.0-rc.9
2018-07-28 23:23:37 -04:00
Evan You
4d56ed53b0
chore: pre release sync
2018-07-28 23:22:52 -04:00
Evan You
ba43900657
refactor: add invoking flag for generators, fix eslint + ts
...
close #1972
2018-07-28 15:53:24 -04:00
Evan You
eafacbad90
v3.0.0-rc.8
2018-07-27 14:03:24 -04:00
Evan You
d9f75f5df5
chore: pre release sync
2018-07-27 14:03:16 -04:00
Evan You
031e961894
v3.0.0-rc.7
2018-07-26 22:38:19 -04:00
Evan You
fd50798e95
chore: pre release sync
2018-07-26 22:31:26 -04:00
Evan You
b589dfa6c2
v3.0.0-rc.6
2018-07-26 18:11:44 -04:00
Evan You
f163db1981
chore: pre release sync
2018-07-26 18:11:39 -04:00
Guillaume Chau
f4aa40dbc1
fix(pwa): wrong config, closes #1890
2018-07-20 07:33:46 +02:00
Guillaume Chau
6e6533c56a
v3.0.0-rc.5
2018-07-16 15:51:27 +02:00
Guillaume Chau
71276fdf5a
chore: pre release sync
2018-07-16 15:51:21 +02:00
Guillaume Chau
fc6541fd59
v3.0.0-rc.4
2018-07-13 19:03:31 +02:00
Guillaume Chau
be918080ca
chore: pre release sync
2018-07-13 19:03:27 +02:00
Evan You
30dbad8ff1
fix: fix npmignore, prevent version cache from being published
2018-07-13 10:52:55 -04:00
Stephen Lam
e393be733d
feat(generator): allow plugins to modify how configs are extracted ( #1130 )
...
* feat(generator): allow plugins to modify how configs are extracted
* refactor(cli): change addConfigTransform parameters
Allow plugin author to set config 'descriptions' instead of implementing their own transform functions.
* fix(cli): fix missed issues from changing types from array to set
* fix: use reserved config transforms to check in API
* fix: lines dedupe
2018-07-11 19:52:57 +02:00
Guillaume Chau
96778b2caf
chore: update main deps ( #1772 )
...
* chore: update main deps
* chore: update ts types
* chore: update generator deps versions
* fix: ts-jest
* chore: upgrade ts-jest again
* fix: re-generated yarn.lock
* chore: more upgrades
* fix: jest test matching on Windows
2018-07-08 13:56:10 +02:00
Guillaume Chau
7d635008ac
refactor(ui): use reverse domain notation for ids
2018-06-21 16:41:38 +02:00
Evan You
5cf1958a69
v3.0.0-rc.3
2018-06-18 10:36:49 -04:00
Evan You
17a0411689
chore: pre release sync
2018-06-18 10:36:43 -04:00
Evan You
2698f66670
v3.0.0-rc.2
2018-06-14 09:44:25 -04:00
Evan You
d98b7ee745
chore: pre release sync
2018-06-14 09:44:16 -04:00
Evan You
6f948d2f3f
v3.0.0-rc.1
2018-06-13 16:11:09 -04:00
Evan You
d4a595d891
chore: pre release sync
2018-06-13 16:10:59 -04:00
Guillaume Chau
a26669c25f
feat(ui): open eslintrc suggestion
2018-06-11 21:14:14 +02:00
Guillaume Chau
dbef5e9fed
feat(ui): config improvements ( #1487 )
...
BREAKING CHANGES:
- The configuration API has changed.
- The `files` options now accept an object of different config files:
```js
api.describeConfig({
/* ... */
// All possible files for this config
files: {
// eslintrc.js
eslint: {
js: ['.eslintrc.js'],
json: ['.eslintrc', '.eslintrc.json'],
// Will read from `package.json`
package: 'eslintConfig'
},
// vue.config.js
vue: {
js: ['vue.config.js']
}
},
})
```
- The `onWrite` api has changed: `setData` and `assignData` have now `fileId` as the first argument:
```js
api.describeConfig({
onWrite: async ({ api, prompts }) => {
const eslintData = {}
const vueData = {}
for (const prompt of prompts) {
// eslintrc
if (prompt.id.indexOf('vue/') === 0) {
eslintData[`rules.${prompt.id}`] = await api.getAnswer(prompt.id, JSON.parse)
} else {
// vue.config.js
vueData[prompt.id] = await api.getAnswer(prompt.id)
}
}
api.setData('eslint', eslintData)
api.setData('vue', vueData)
}
})
```
Other changes
- Config tabs (optional):
```js
api.describeConfig({
/* ... */
onRead: ({ data, cwd }) => ({
tabs: [
{
id: 'tab1',
label: 'My tab',
// Optional
icon: 'application_settings',
prompts: [
// Prompt objects
]
},
{
id: 'tab2',
label: 'My other tab',
prompts: [
// Prompt objects
]
}
]
})
})
```
2018-06-10 14:01:45 +02:00
Evan You
2a8391d3c2
v3.0.0-beta.16
2018-06-08 00:51:12 -04:00
Evan You
85306c82ef
chore: pre release sync
2018-06-08 00:51:04 -04:00
Guillaume Chau
1c8f1953e7
refactor(ui): Config & task icons ( #1450 )
...
BREAKING CHANGE:
- `file-icon` for the configurations is removed
- Configuration objects `icon` option changed and is now working differently: you can either use a material icon code or a custom image (see Public static files in the UI Plugin docs).
- Task objects have a new `icon` option wich works exactly the same
- By default, if no icon is provided for either the config or the task, the corresponding vue-cli plugin logo will be used instead (if any).
2018-06-05 10:58:00 +02:00
Caleb Kester
165f82319d
Changing tabs to tab ( #1441 )
2018-06-03 13:08:56 +02:00
Evan You
9a2898c1bc
v3.0.0-beta.15
2018-05-30 13:42:19 -04:00