Skip to content

Commit

Permalink
Removed eslint from config
Browse files Browse the repository at this point in the history
  • Loading branch information
furstenbergdev committed Jan 16, 2024
1 parent 3c7887d commit f4e74f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v11.0.2] - 16.01.2024

### Changed

- Removed eslint from common config.

## [v11.0.1] - 16.01.2024

### Changed

- Internal changes: Updated dependencies to fix security issues.

## [v11.0.0] - 15.01.2024
Expand Down
8 changes: 1 addition & 7 deletions itsl.rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@
const fs = require('fs');
const path = require('path');

const eslint = require('@rollup/plugin-eslint');
const { nodeResolve } = require('@rollup/plugin-node-resolve');
const scss = require('rollup-plugin-scss');
const svelte = require('rollup-plugin-svelte');
const { terser } = require('@rollup/plugin-terser');
const terser = require('@rollup/plugin-terser');
const json = require('@rollup/plugin-json');

const defaultOptions = {
legacy: false,
webComponents: false,
beforePlugins: [],
plugins: [],
eslint: {
configFile: 'node_modules/@itslearning/protomorph/eslint.config.js',
},
};

/**
Expand All @@ -27,7 +23,6 @@ const defaultOptions = {
* @param {object} options
* @param {boolean} [options.webComponents] Include polyfills for webComponents
* @param {any[]} [options.plugins] Array of plugins to run in addition to the defaults
* @param {object} [options.eslint] Eslint options, defaults to using protomorph eslintrc file
* @returns {object} A Rollup Configuration Object
*/
const Svelte = (src, dest, options = defaultOptions) => ({
Expand All @@ -40,7 +35,6 @@ const Svelte = (src, dest, options = defaultOptions) => ({
treeshake: true,
plugins: [
...options.beforePlugins || defaultOptions.beforePlugins,
eslint(options.eslint || defaultOptions.eslint),
// @ts-ignore
svelte(),
nodeResolve(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@itslearning/protomorph",
"description": "Shared build config for frontend applications",
"version": "11.0.1",
"version": "11.0.2",
"author": "Itslearning AS",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit f4e74f0

Please sign in to comment.