Changelog
All changes in this repository are noted here.
The format is based on Keep a Changelog, and the project uses Semantic Versioning.
[6.2.6] - 2025-05-26
Section titled “[6.2.6] - 2025-05-26”- Add node globals to node config.
- Turn off
no-consoleandno-process-exitin node config.
[6.2.5] - 2025-05-23
Section titled “[6.2.5] - 2025-05-23”- Put types first in the import sort order.
[6.2.4] - 2025-05-23
Section titled “[6.2.4] - 2025-05-23”- Add import settings for typescript config.
[6.2.3] - 2025-05-16
Section titled “[6.2.3] - 2025-05-16”- Adjust sort order for some attributes in Svelte components.
[6.2.2] - 2025-04-02
Section titled “[6.2.2] - 2025-04-02”- Exclude
$staterune insvelte/prefer-const.
[6.2.1] - 2025-04-01
Section titled “[6.2.1] - 2025-04-01”- Set
svelte/require-each-keyas warning instead of error.
[6.2.0] - 2025-03-31
Section titled “[6.2.0] - 2025-03-31”- Update
eslint-plugin-svelteversion 3. - Enable
svelte/html-self-closing. - Enable
svelte/prefer-const. - Allow caught errors to unused in
no-unused-vars. - Add path group override for
#inimport/extensions. - Add experimental TypeScript support in a separate config.
[6.1.0] - 2025-03-18
Section titled “[6.1.0] - 2025-03-18”- Adjust config for script modules to correct sourceType.
- Allow
underscore-danglefor__rekai.
[6.0.2] - 2025-02-07
Section titled “[6.0.2] - 2025-02-07”- Update definitions in package.json.
[6.0.1] - 2025-02-05
Section titled “[6.0.1] - 2025-02-05”- Load Svelte configuration dynamically.
- Update references for publishing on npm.
[6.0.0] - 2025-02-04
Section titled “[6.0.0] - 2025-02-04”- Update to ESLint 9 and format configuration files to flat config.
- Change
trailingCommato ‘all’ in the Prettier configuration. - Add global for
envision. - Renamed
legacytoscript-module-configas that is what it is used for.
[5.3.2] - 2024-12-13
Section titled “[5.3.2] - 2024-12-13”- Turn off the rule
svelte/no-unused-svelte-ignoreas it causes issues.
[5.3.1] - 2024-11-15
Section titled “[5.3.1] - 2024-11-15”- Remove
svelte-preprocessfrom the installation script as it is not relevant for eslint.
[5.3.0] - 2024-10-21
Section titled “[5.3.0] - 2024-10-21”- Adjust rules for
prefer-constandmax-lento work better with Svelte 5.
[5.2.0] - 2024-06-03
Section titled “[5.2.0] - 2024-06-03”- New command to install dependencies and create configuration files,
npx @soleil/eslint-config --setup.
[5.1.2] - 2023-10-26
Section titled “[5.1.2] - 2023-10-26”- Update settings for
max-lenin Svelte files as it conflicts with prettier.
[5.1.1] - 2023-08-22
Section titled “[5.1.1] - 2023-08-22”- Add exceptions for Svelte’s submodules as the import plugin cannot resolve these even though they are available.
[5.1.0] - 2023-06-01
Section titled “[5.1.0] - 2023-06-01”- Add warnings for APIs whose instances should not be imported directly but created via other APIs.
[5.0.1] - 2023-05-31
Section titled “[5.0.1] - 2023-05-31”- Ignore
max-lenfor imports in style tags in Svelte components.
[5.0.0] - 2023-05-26
Section titled “[5.0.0] - 2023-05-26”- New plugin for linting Svelte.
[4.0.1] - 2023-03-27
Section titled “[4.0.1] - 2023-03-27”- Only load overrides for Svelte files when Svelte is installed in the project.
[4.0.0] - 2022-06-22
Section titled “[4.0.0] - 2022-06-22”- Simplify by removing the different configurations and using the same config for everything except legacy code.
- Modernize the legacy configuration to allow limited use of ES2015+ supported by Rhino.
- Use
eslint-config-prettierin Svelte components to avoid conflicts with ESLint. - Remove support for Vue.
[3.1.0] - 2022-04-11
Section titled “[3.1.0] - 2022-04-11”- Allow the use of
console.error()- for example, in try catch.
[3.0.1] - 2022-02-07
Section titled “[3.0.1] - 2022-02-07”- Ignore
import/no-unresolvedfor imports starting with@sitevision/api/server,@sitevision/api/commonand@sitevision/api/clientas not all APIs are documented.
[3.0.0] - 2022-02-07
Section titled “[3.0.0] - 2022-02-07”- Only allow imports of Sitevision’s APIs via
@sitevision/api. - Update paths in the global and webapp config to support the WebApps 2 structure.
- Update
peerDependenciesto the latest major versions.
[2.4.5] - 2021-11-04
Section titled “[2.4.5] - 2021-11-04”- Set
ecmaVersionto 2021 in the client configuration if Vue is used.
[2.4.4] - 2021-09-09
Section titled “[2.4.4] - 2021-09-09”- Add
optionstosvelteSortOrder.
[2.4.3] - 2021-08-27
Section titled “[2.4.3] - 2021-08-27”- Typo in the rule
no-return-assignin Svelte files.
[2.4.2] - 2021-08-17
Section titled “[2.4.2] - 2021-08-17”- If Vue is used in the project, set
ecmaVersionto 2021 instead as the plugin uses Espree which cannot handle the same version names as ESLint.
[2.4.1] - 2021-08-17
Section titled “[2.4.1] - 2021-08-17”- Set
ecmaVersiontolatestto avoid updating the version every year.
[2.4.0] - 2021-03-24
Section titled “[2.4.0] - 2021-03-24”- Deprecation notice for the configurations
@soleil/eslint-config/universaland@soleil/eslint-config/server - New configurations with clearer names:
@soleil/eslint-config/webappand@soleil/eslint-config/server-legacy - Allow more properties per line in an object in
object-curly-newline.
[2.3.1] - 2021-02-24
Section titled “[2.3.1] - 2021-02-24”- Revert
ecmaVersionto 2020.
[2.3.0] - 2021-02-24
Section titled “[2.3.0] - 2021-02-24”- More rules overlap when writing universal code.
- Turned off
import/prefer-default-export. - Turned off
no-return-assignin Svelte components. - Removed linting of scripts in HTML for the server configuration for ES5 code.
[2.2.1] - 2021-01-07
Section titled “[2.2.1] - 2021-01-07”- Removed
babel-eslintfrom dependencies.
[2.2.0] - 2021-01-07
Section titled “[2.2.0] - 2021-01-07”- Removed
babel-eslintand use the standard parser with ES2020. - Simplified
svelte.config.js, usually the plugin for globbing is not needed. - Added the package
cacheas an exception for SiteVision packages.
[2.1.4] - 2020-10-26
Section titled “[2.1.4] - 2020-10-26”- Removed incorrect configuration of
a11y-no-onchange.
[2.1.3] - 2020-10-21
Section titled “[2.1.3] - 2020-10-21”- Added
app_src/views/**/*.jsin the server config.
[2.1.2] - 2020-10-06
Section titled “[2.1.2] - 2020-10-06”- Fixed incorrect
parserOptionsin theserver-es6config.
[2.1.1] - 2020-10-06
Section titled “[2.1.1] - 2020-10-06”- Changed the order of the config so the settings Svelte needs for the server side are included.
[2.1.0] - 2020-09-28
Section titled “[2.1.0] - 2020-09-28”- Dependencies needed by default are listed as peerDependencies.
- Dependencies for framework-specific plugins need to be installed in addition to peerDependencies.
[2.0.0] - 2020-09-28
Section titled “[2.0.0] - 2020-09-28”- Support for Svelte.
- Updated structure.
- Update to ESLint 7.
- Removed the configuration for Vue, now in the client.
[1.1.2] - 2020-02-05
Section titled “[1.1.2] - 2020-02-05”- Changed the rule
import/extensionsto ignore json files.
[1.1.1] - 2020-01-27
Section titled “[1.1.1] - 2020-01-27”- Changed the rule
import/extensionsto ignore vue files.
[1.1.0] - 2020-01-21
Section titled “[1.1.0] - 2020-01-21”- Changed the rule
import/extensionsto ignore packages, solving issues with import via alias.
[1.0.0] - 2020-01-13
Section titled “[1.0.0] - 2020-01-13”- Updated to ESLint 6.
[0.3.3] - 2019-12-06
Section titled “[0.3.3] - 2019-12-06”- Now allows a maximum of 3 attributes per line in Vue (
vue/max-attributes-per-line).
[0.3.2] - 2019-06-03
Section titled “[0.3.2] - 2019-06-03”- Added
server_src/apiin the server to the global config.
[0.3.1] - 2019-05-20
Section titled “[0.3.1] - 2019-05-20”- Turned off
global-requireto allow writingrequireinside IIFE insrc/index.jsin a WebApp.
[0.3.0] - 2019-05-20
Section titled “[0.3.0] - 2019-05-20”- Added a global config that can be used in the root of a project using the standard structure and
@soleil/sv-gulp-build@^3.0.0.