Skip to content

Commit

Permalink
Merge pull request #96 from BrightspaceUI/dependabot/npm_and_yarn/esl…
Browse files Browse the repository at this point in the history
…int-config-brightspace-2.0.1

chore(deps-dev): bump eslint-config-brightspace from 1.3.2 to 2.0.1
  • Loading branch information
GZolla authored Nov 27, 2024
2 parents b184d95 + b76a9cc commit cd990d8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

8 changes: 8 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { nodeConfig } from 'eslint-config-brightspace';

export default [
{
ignores: ['dist', 'src/generators/*/templates/**/*']
},
...nodeConfig
];
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"build": "rimraf dist && babel src --out-dir dist --copy-files --include-dotfiles",
"lint:eslint": "eslint . --ext .js,.html",
"lint:eslint": "eslint .",
"test": "npm run lint:eslint"
},
"files": [
Expand All @@ -30,8 +30,8 @@
"@babel/preset-env": "^7",
"babel-eslint": "^10",
"babel-plugin-transform-dynamic-import": "^2",
"eslint": "^8",
"eslint-config-brightspace": "^1",
"eslint": "^9",
"eslint-config-brightspace": "^2",
"rimraf": "^6.0.1"
}
}
1 change: 0 additions & 1 deletion src/create.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env node

/* eslint-disable no-console */
import prompts from 'prompts';
import { run as setupDefaultContent } from './generators/default-content/index.js';
import { run as setupDemo } from './generators/demo/index.js';
Expand Down

0 comments on commit cd990d8

Please sign in to comment.