Skip to content

Commit 45ef300

Browse files
committed
Refactor ESLint configuration, update linting command, and remove ConfluenceCloudTrigger node files
1 parent fd67371 commit 45ef300

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
extraFileExtensions: ['.json'],
1919
},
2020

21-
ignorePatterns: ['.eslintrc.js', '**/*.js', '**/node_modules/**', '**/dist/**'],
21+
ignorePatterns: ['.eslintrc.js', '**/*.js', '**/node_modules/**', '**/dist/**', '**/archive/**'],
2222

2323
overrides: [
2424
{
File renamed without changes.
File renamed without changes.

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function copyIcons() {
104104

105105
// ESLint (for credentials and nodes)
106106
function lint(done) {
107-
const eslint = spawn('npx', ['eslint', '--fix', 'credentials/**/*.ts', 'nodes/**/*.ts'], { stdio: 'inherit' });
107+
const eslint = spawn('npx', ['eslint', '--fix', 'credentials/**/*.ts', '--ignore-pattern', '!nodes/**/*.ts'], { stdio: 'inherit' });
108108
eslint.on('close', (code) => {
109109
if (code === 0) {
110110
console.log('✅ ESLint passed');

0 commit comments

Comments
 (0)