Commit Graph

7 Commits

Author SHA1 Message Date
Evan You
bad0ecb910 workflow: temporarily disable no-unused-vars eslint rule for arguments 2020-09-16 10:53:02 -04:00
Evan You
54727f9874 feat: provide ability to overwrite feature flags in esm-bundler builds
e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.

This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.
2020-07-20 21:51:30 -04:00
Evan You
82b28a5ecb fix(types): should unwrap array -> object -> ref 2020-06-29 12:26:28 -04:00
Evan You
c80d93f15c workflow: eslint ignore unused args that start with _ 2020-06-16 12:00:18 -04:00
Evan You
91fa52850a chore: lint for unused arguments 2020-06-12 16:31:31 -04:00
Evan You
f39ad0b539 workflow: disable lint restrictions in tests 2020-06-12 15:59:05 -04:00
Evan You
80c868aefe workflow: setup eslint for prohibited syntax and globals
fix #1285
2020-06-10 16:54:23 -04:00