Skip to content

Commit

Permalink
chore(npm): Fixing lint - FRONt-4693
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus committed Dec 11, 2024
1 parent cf66f76 commit 04f6ef4
Show file tree
Hide file tree
Showing 21 changed files with 111 additions and 157 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ module.exports = {
'no-param-reassign': 'off',
},
overrides: [
{
files: ['src/**/*.story.js', 'src/**/*.test.js'],
rules: {
'import/no-unresolved': 'off',
},
},
{
files: '**/scripts/**/*.js',
rules: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dist": "npm run clean && npm run browserstats && npm run dist:presets && npm run dist:storybook && npm run dist:website",
"lint:js": "eslint . --ext .js --ext .jsx",
"lint:scss": "stylelint \"./src/**/*.scss\"",
"lint": "pnpm recursive lint:* -cln",
"lint": "run-p lint:* -cln",
"prepare": "husky",
"postinstall": "patch-package && [ -z \"$NOYARNPOSTINSTALL\" ] && (pnpm recursive run postinstall && pnpm recursive run prepublish) || echo \"Bypass prepublish\"",
"pretty-check": "prettier --check \"src/**/*.{md,mdx,html,json,yml,js,jsx,scss,svg}\"",
Expand Down
68 changes: 65 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

141 changes: 0 additions & 141 deletions scripts/set-netlify-deployment-status.js

This file was deleted.

1 change: 1 addition & 0 deletions scripts/unpublish.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-unresolved */
/*
For some reasons the query on nom doesn't return some packages:
@ecl/vanilla-component-site-header
Expand Down
2 changes: 2 additions & 0 deletions src/implementations/twig/components/accordion/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__snapshots__
*.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"module": "accordion.js",
"dependencies": {
"@ecl/dom-utils": "4.8.1",
"@ecl/vanilla-layout-grid": "4.8.1"
"@ecl/vanilla-layout-grid": "4.8.1",
"@ecl/event-manager": "4.8.1"
},
"publishConfig": {
"access": "public"
Expand Down
Loading

0 comments on commit 04f6ef4

Please sign in to comment.