Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bump eslint-config-brightspace from 1.3.2 to 2.0.1 #96

Merged
merged 2 commits into from
Nov 27, 2024
Merged
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
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