mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-01-16 20:28:22 +01:00
update dev dependencies
This commit is contained in:
parent
83280f37dd
commit
c291981406
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"root": true,
|
|
||||||
"extends": "eslint:recommended",
|
|
||||||
"env": {
|
|
||||||
"browser": true,
|
|
||||||
"es2020": true
|
|
||||||
},
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": 2020,
|
|
||||||
"sourceType": "module"
|
|
||||||
},
|
|
||||||
"rules": {
|
|
||||||
"object-shorthand": "error",
|
|
||||||
"prefer-arrow-callback": "error",
|
|
||||||
"arrow-body-style": ["error", "as-needed"],
|
|
||||||
"no-var": "error",
|
|
||||||
"prefer-template": "error",
|
|
||||||
"no-console": "error"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1 +1 @@
|
|||||||
v20
|
20
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": ["stylelint-config-standard", "stylelint-rscss/config"],
|
"extends": "stylelint-config-standard",
|
||||||
"rules": {
|
"rules": {
|
||||||
"property-no-vendor-prefix": null,
|
"property-no-vendor-prefix": null,
|
||||||
"selector-class-pattern": "[a-z\\-][a-z0-9\\-]+"
|
"selector-class-pattern": "^[\\-_]?([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
26
eslint.config.js
Normal file
26
eslint.config.js
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
import js from '@eslint/js';
|
||||||
|
import compat from 'eslint-plugin-compat';
|
||||||
|
import globals from 'globals';
|
||||||
|
|
||||||
|
export default [
|
||||||
|
js.configs.recommended,
|
||||||
|
compat.configs['flat/recommended'],
|
||||||
|
{ ignores: ['es5'] },
|
||||||
|
{
|
||||||
|
languageOptions: {
|
||||||
|
ecmaVersion: 2020,
|
||||||
|
sourceType: 'module',
|
||||||
|
globals: {
|
||||||
|
...globals.browser,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
'object-shorthand': 'error',
|
||||||
|
'prefer-arrow-callback': 'error',
|
||||||
|
'arrow-body-style': ['error', 'as-needed'],
|
||||||
|
'no-var': 'error',
|
||||||
|
'prefer-template': 'error',
|
||||||
|
'no-console': 'error',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
];
|
1555
package-lock.json
generated
1555
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -33,14 +33,18 @@
|
|||||||
"test-coverage": "bash scripts/test-coverage.sh"
|
"test-coverage": "bash scripts/test-coverage.sh"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@eslint/js": "^9.17.0",
|
||||||
"@playwright/test": "^1.33.0",
|
"@playwright/test": "^1.33.0",
|
||||||
"c8": "^10.1.2",
|
"c8": "^10.1.2",
|
||||||
"eslint": "^8.20.0",
|
"eslint": "^9.17.0",
|
||||||
"eslint-plugin-compat": "^5.0.0",
|
"eslint-plugin-compat": "^6.0.2",
|
||||||
"prettier": "^3.1.0",
|
"prettier": "^3.1.0",
|
||||||
"s4d": "^0.2.0",
|
"s4d": "^0.2.0",
|
||||||
"stylelint": "^15.11.0",
|
"stylelint": "^16.12.0",
|
||||||
"stylelint-config-standard": "^34.0.0",
|
"stylelint-config-standard": "^36.0.1"
|
||||||
"stylelint-rscss": "^0.4.0"
|
},
|
||||||
}
|
"browserslist": [
|
||||||
|
"defaults",
|
||||||
|
"not op_mini all"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../.eslintrc.json",
|
|
||||||
"env": {
|
|
||||||
"node": true
|
|
||||||
},
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": 2022,
|
|
||||||
"sourceType": "module"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,3 +1,4 @@
|
|||||||
|
/* global process */
|
||||||
import { test } from '@playwright/test';
|
import { test } from '@playwright/test';
|
||||||
import { randomUUID } from 'crypto';
|
import { randomUUID } from 'crypto';
|
||||||
import { promises as fs } from 'fs';
|
import { promises as fs } from 'fs';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user