Loading
Commits on Source 5
-
Lukas Eipert authored
-
Lukas bEipi/b Eipert authored
ci: Add dry-run for semantic-release See merge request !24
-
Mark Florian authored
BREAKING CHANGE: This disables the `import/prefer-default-export` rule set by `airbnb-base`, and enables the `import/no-default-export` rule. Note that Vue single-file-components (SFCs) are exempted from the `import/no-default-export` rule, since [default exports are required by design][2]. This is done to align with the consensus reached in our [RFC on exports][1]. In order to ease the transition, you can keep the old behaviour by adding the following to your project's `.eslintrc.yml` (or equivalent): rules: import/prefer-named-export: error import/no-default-export: off Alternatively, you can exempt a subset of files, e.g.: overrides: - files: - '**/*foo.js' rules: 'import/no-default-export': error [1]: rfcs#20 [2]: https://vue-loader.vuejs.org/spec.html#script -
Lukas bEipi/b Eipert authored
feat: Prefer named exports See merge request !22
-
semantic-release-bot authored
# [4.0.0](v3.2.0...v4.0.0) (2020-08-17) ### Features * Prefer named exports ([4dac48d2](4dac48d2)) ### BREAKING CHANGES * This disables the `import/prefer-default-export` rule set by `airbnb-base`, and enables the `import/no-default-export` rule. Note that Vue single-file-components (SFCs) are exempted from the `import/no-default-export` rule, since [default exports are required by design][2]. This is done to align with the consensus reached in our [RFC on exports][1]. In order to ease the transition, you can keep the old behaviour by adding the following to your project's `.eslintrc.yml` (or equivalent): rules: import/prefer-named-export: error import/no-default-export: off Alternatively, you can exempt a subset of files, e.g.: overrides: - files: - '**/*foo.js' rules: 'import/no-default-export': error [1]: rfcs#20 [2]: https://vue-loader.vuejs.org/spec.html#script