Skip to content

Commit 010abf0

Browse files
Update jQuery dependencies and migrate to ESLint flat config
1 parent 6df8c34 commit 010abf0

8 files changed

Lines changed: 1752 additions & 931 deletions

File tree

jQuery/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

jQuery/.eslintrc.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

jQuery/.stylelintignore

Whitespace-only changes.

jQuery/.stylelintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

jQuery/eslint.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import spellCheck from 'eslint-config-devextreme/spell-check';
2+
import jqueryConfig from 'eslint-config-devextreme/jquery';
3+
4+
export default [
5+
{
6+
ignores: ['node_modules/**', 'eslint.config.js', 'stylelint.config.mjs'],
7+
},
8+
...spellCheck,
9+
...jqueryConfig,
10+
];

jQuery/package-lock.json

Lines changed: 1735 additions & 903 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jQuery/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
{
22
"name": "dx-jquery",
33
"version": "1.0.0",
4+
"type": "module",
45
"scripts": {
56
"start": "npm run lite",
67
"build": "npm run lint",
78
"lite": "lite-server -c ./bs-config.json",
89
"lint-html": "prettier --check src/*",
9-
"lint-js": "eslint --ext .js .",
10+
"lint-js": "eslint .",
1011
"lint-css": "stylelint src/**/*.css --allow-empty-input",
1112
"lint": "npm-run-all -p -c lint-js lint-css lint-html"
1213
},
1314
"devDependencies": {
1415
"@babel/core": "^7.22.1",
1516
"@babel/eslint-parser": "^7.21.8",
16-
"eslint": "^8.41.0",
17-
"eslint-config-devextreme": "1.1.4",
17+
"eslint": "9.18.0",
18+
"eslint-config-devextreme": "1.1.10",
1819
"eslint-plugin-no-only-tests": "^3.1.0",
1920
"htmlhint": "^1.1.4",
2021
"lite-server": "^2.6.1",

jQuery/stylelint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import stylelintrc from 'eslint-config-devextreme/stylelintrc';
2+
3+
export default stylelintrc;

0 commit comments

Comments
 (0)