quasarframework / quasar-template-pwa

[DEPRECATED] Quasar PWA Boilerplate / Starter kit
http://quasar-framework.org
MIT License
43 stars 6 forks source link

feat: eslint-plugin-vue & stylelint & more #7

Closed beeplin closed 6 years ago

beeplin commented 7 years ago

What kind of change does this PR introduce? (check at least one)

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and migration path for existing applications:

This PR adds more linting rules for vue files (in templates, scripts and styles), and this may make some old user codes cannot pass building -- which is exactly what linting is designed for. But all the rules can be turned off easily, and most people just use this new pwa template to initiate new projects, so this might not be a REAL breaking change.

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

Other information:

eslint-plugin-vue

see https://github.com/vuejs/eslint-plugin-vue

stylelint for vue files

see https://github.com/stylelint/stylelint and https://github.com/vuejs/vue-loader/issues/303

babel-preset-env

replacing babel-preset-es2015, see http://babeljs.io/docs/plugins/#presets-official-presets

postcss-loader v2

just add an empty config file to enable v2

webpack-bulder-analyzer

nice bundle size viewer. to enable: npm run build --report

beeplin commented 7 years ago

@rstoenescu this is the PR I mentioned in #5

rstoenescu commented 6 years ago

Very good PR, don't know how I missed it. Will get it into the v0.15 starter kit. Thanks for your efforts!

beeplin commented 6 years ago

@rstoenescu Most features in this PR has been integrated in quasar 0.15, so I am closing it.

v0.15 is amazing~!