Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Root ESLint 9 Flat Config
// This configuration is used for linting the root-level files
module.exports = require('@talend/eslint-config');
1 change: 1 addition & 0 deletions fork/module-to-cdn/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion fork/module-to-cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"test": "jest index.test.js",
"test:cron": "jest modules.test.js",
"lint": "eslint ./"
"lint": "eslint ."
},
"files": [
"index.js",
Expand Down
1 change: 1 addition & 0 deletions fork/react-bootstrap/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion fork/react-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"build:lib:esm": "talend-scripts build --esm",
"build:lib": "talend-scripts build",
"lint": "talend-scripts lint",
"lint": "eslint .",
"test": "talend-scripts test",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
Expand Down
1 change: 1 addition & 0 deletions packages/a11y/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build:lib": "talend-scripts build",
"build:lib:esm": "talend-scripts build --esm",
"test": "talend-scripts test",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"keywords": [
"react",
Expand Down
1 change: 1 addition & 0 deletions packages/assets-api/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/assets-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test": "talend-scripts test",
"test:watch": "talend-scripts test --watch",
"test:cov": "talend-scripts test --coverage",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"keywords": [
"talend"
Expand Down
1 change: 1 addition & 0 deletions packages/cmf-cqrs/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/cmf-cqrs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "talend-scripts test",
"test:watch": "talend-scripts test --watch",
"test:cov": "talend-scripts test --coverage",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/cmf-router/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/cmf-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test": "talend-scripts test",
"test:watch": "talend-scripts test --watch",
"test:cov": "talend-scripts test --coverage",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"dependencies": {
"@talend/react-cmf": "^12.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/cmf/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/cmf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test:watch": "talend-scripts test --watch",
"test:cov": "talend-scripts test --coverage",
"test:demo": "yarn jsdoc -c ./docs.json",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"keywords": [
"react",
Expand Down
1 change: 1 addition & 0 deletions packages/components/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test:update": "cross-env TZ=UTC talend-scripts test -u",
"test:watch": "cross-env TZ=UTC talend-scripts test --watch",
"test:cov": "cross-env TZ=UTC talend-scripts test --coverage",
"lint": "talend-scripts lint",
"lint": "eslint .",
"start": "storybook dev",
"extract-i18n": "i18next-scanner --config i18next-scanner.config.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/containers/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/containers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test:watch": "talend-scripts test --watch",
"test:cov": "talend-scripts test --coverage",
"test:demo": "storybook build",
"lint": "talend-scripts lint",
"lint": "eslint .",
"extract-i18n": "i18next-scanner --config i18next-scanner.config.js"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/dataviz/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/dataviz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build:lib:esm": "talend-scripts build --esm",
"build-storybook": "storybook build",
"extract-i18n": "i18next-scanner --config i18next-scanner.config.js",
"lint": "talend-scripts lint",
"lint": "eslint .",
"start": "storybook dev -p 6006",
"test": "cross-env TZ=UTC talend-scripts test",
"test:watch": "cross-env TZ=UTC talend-scripts test --watch",
Expand Down
1 change: 1 addition & 0 deletions packages/design-docs/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/design-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build-storybook": "storybook build --docs",
"start-storybook": "storybook dev -p 6006 --docs",
"lint": "talend-scripts lint",
"lint": "eslint .",
"start": "storybook dev -p 6006 --docs",
"test:demo": "storybook build --docs"
},
Expand Down
1 change: 1 addition & 0 deletions packages/design-system/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"watch:esm": "talend-scripts build --watch --esm",
"test": "talend-scripts test",
"extract-i18n": "i18next-scanner --config i18next-scanner.config.js",
"lint": "talend-scripts lint",
"lint": "eslint .",
"start": "storybook dev"
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/design-tokens/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/design-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"build:css": "sass src/index.scss dist/TalendDesignTokens.css --no-source-map --style=compressed",
"test": "echo no test for @talend/design-tokens",
"test:cov": "echo no test for @talend/design-tokens",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"keywords": [
"talend",
Expand Down
1 change: 1 addition & 0 deletions packages/faceted-search-query-client/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/faceted-search-query-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "cross-env TZ=UTC talend-scripts test",
"test:watch": "cross-env TZ=UTC talend-scripts test --watch",
"test:cov": "cross-env TZ=UTC talend-scripts test --coverage",
"lint": "talend-scripts lint ./src/**/*.js ./stories/**/*.js ./.storybook/**/*.js",
"lint": "eslint ./src/**/*.js ./stories/**/*.js ./.storybook/**/*.js",
"extract-i18n": "i18next-scanner --config i18next-scanner.config.js"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/faceted-search/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/faceted-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test:watch": "cross-env TZ=UTC talend-scripts test --watch",
"test:cov": "cross-env TZ=UTC talend-scripts test --coverage",
"test:demo": "storybook build --docs",
"lint": "talend-scripts lint ./src/**/*.js ./stories/**/*.js ./.storybook/**/*.js",
"lint": "eslint ./src/**/*.js ./stories/**/*.js ./.storybook/**/*.js",
"start": "storybook dev -p 6006",
"extract-i18n": "i18next-scanner --config i18next-scanner.config.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/flow-designer/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/flow-designer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"scripts": {
"build:lib": "talend-scripts build",
"build:lib:esm": "talend-scripts build --esm",
"lint": "talend-scripts lint",
"lint": "eslint .",
"test": "talend-scripts test"
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/forms/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test": "cross-env TZ=UTC talend-scripts test",
"test:watch": "talend-scripts test --watch",
"test:cov": "talend-scripts test --coverage",
"lint": "talend-scripts lint",
"lint": "eslint .",
"start": "talend-scripts start-storybook -p 6008",
"extract-i18n": "i18next-scanner --config i18next-scanner.config.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/http/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:lib:esm": "talend-scripts build --esm",
"start": "echo nothing to start",
"test": "talend-scripts test",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"devDependencies": {
"@talend/eslint-config": "^14.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/local-libs-webpack-plugin/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/local-libs-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache-2.0",
"scripts": {
"test": "jest",
"lint": "talend-scripts lint lib/**/*.js"
"lint": "eslint lib/**/*.js"
},
"keywords": [
"webpack",
Expand Down
1 change: 1 addition & 0 deletions packages/playground-vite/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/playground-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:demo:umd": "cross-env BASENAME='/playground/' INITIATOR_URL='/playground/inject.js' talend-scripts build --prod",
"start": "vite dev",
"start-dist": "talend-scripts build && node serve-dist",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/playground/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "echo nothing to test in playground",
"start": "cross-env BASENAME='/' INITIATOR_URL='/inject.js' talend-scripts start --open http://localhost:3000",
"start-dist": "talend-scripts build && node serve-dist",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/router-bridge/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/router-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build:lib": "talend-scripts build",
"build:lib:esm": "talend-scripts build --esm",
"build": "talend-scripts build",
"lint": "talend-scripts lint",
"lint": "eslint .",
"test": "talend-scripts test"
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/sagas/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/sagas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test": "talend-scripts test",
"test:watch": "talend-scripts test --watch",
"test:cov": "talend-scripts test --coverage",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"keywords": [
"react",
Expand Down
1 change: 1 addition & 0 deletions packages/stepper/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/stepper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test:noisy": "cross-env TZ=UTC talend-scripts test",
"test:watch": "cross-env TZ=UTC talend-scripts test --watch",
"test:cov": "cross-env TZ=UTC talend-scripts test --coverage",
"lint": "talend-scripts lint",
"lint": "eslint .",
"start": "talend-scripts start-storybook -p 6006"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/storybook-cmf/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/storybook-cmf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build:lib": "talend-scripts build",
"build:lib:esm": "talend-scripts build --esm",
"test": "talend-scripts test",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"main": "lib/index.js",
"mainSrc": "src/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/storybook-docs/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/storybook-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:lib": "talend-scripts build && npm run build:styles",
"build:lib:esm": "talend-scripts build --esm",
"start": "npm run storybook",
"lint": "talend-scripts lint",
"lint": "eslint .",
"test": "echo no test",
"storybook": "storybook dev -p 6106",
"build-storybook": "storybook build --docs"
Expand Down
1 change: 1 addition & 0 deletions packages/storybook-one/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/storybook-one/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test:demo": "storybook build",
"build-storybook": "storybook build",
"start-storybook": "storybook dev",
"lint": "talend-scripts lint",
"lint": "eslint .",
"start": "storybook dev"
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/theme/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "webpack serve --mode=development",
"test": "echo no test for @talend/bootstrap-theme",
"test:cov": "echo no test for @talend/bootstrap-theme",
"lint": "talend-scripts lint"
"lint": "eslint ."
},
"keywords": [
"talend",
Expand Down
1 change: 1 addition & 0 deletions packages/utils/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"build:lib": "talend-scripts build --tsc",
"build:lib:esm": "talend-scripts build --esm",
"lint": "talend-scripts lint",
"lint": "eslint .",
"test": "cross-env TZ=UTC talend-scripts test",
"test:cov": "cross-env TZ=UTC talend-scripts test --coverage --silent",
"test:noisy": "cross-env TZ=UTC talend-scripts test",
Expand Down
1 change: 1 addition & 0 deletions tools/babel-plugin-assets-api/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
1 change: 1 addition & 0 deletions tools/babel-plugin-import-d3/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion tools/babel-plugin-import-d3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/Talend/ui.git"
},
"scripts": {
"lint": "talend-scripts lint",
"lint": "eslint .",
"test": "jest"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions tools/babel-plugin-import-from-index/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
1 change: 1 addition & 0 deletions tools/babel-plugin-import-from-lib/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion tools/babel-plugin-import-from-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "This plugin transform imports of lib using /lib path",
"main": "index.js",
"scripts": {
"lint": "talend-scripts lint ./",
"lint": "eslint .",
"test": "jest"
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions tools/cmf-webpack-plugin/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion tools/cmf-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "src/index.js",
"mainSrc": "src/index.js",
"scripts": {
"lint": "eslint ./",
"lint": "eslint .",
"test": "echo nothing to test yet in @talend/react-cmf-webpack-plugin"
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions tools/cypress-api-mock-plugin/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion tools/cypress-api-mock-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"api"
],
"scripts": {
"lint": "talend-scripts lint ./",
"lint": "eslint .",
"test": "echo \"Nothing to test\""
},
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions tools/eslint-plugin/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion tools/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "https://github.com/Talend/ui.git"
},
"scripts": {
"lint": "eslint ./",
"lint": "eslint .",
"test": "jest"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions tools/scripts-cmf/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
2 changes: 1 addition & 1 deletion tools/scripts-cmf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"cmf-settings": "./cmf-settings.js"
},
"scripts": {
"lint": "eslint ./"
"lint": "eslint ."
},
"dependencies": {
"commander": "^6.2.1",
Expand Down
1 change: 1 addition & 0 deletions tools/scripts-config-babel/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@talend/eslint-config');
Loading