Update dev dependencies (#4534)
This commit is contained in:
parent
f270ec42a5
commit
1e195c05f6
|
|
@ -1,18 +1,7 @@
|
|||
import prettier from 'eslint-plugin-prettier';
|
||||
import unicorn from 'eslint-plugin-unicorn';
|
||||
import globals from 'globals';
|
||||
import path from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import js from '@eslint/js';
|
||||
import { FlatCompat } from '@eslint/eslintrc';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
recommendedConfig: js.configs.recommended,
|
||||
allConfig: js.configs.all
|
||||
});
|
||||
|
||||
export default [
|
||||
{
|
||||
|
|
@ -28,11 +17,11 @@ export default [
|
|||
'test/prepostscripts/*'
|
||||
]
|
||||
},
|
||||
...compat.extends('eslint:recommended', 'plugin:unicorn/recommended'),
|
||||
js.configs.recommended,
|
||||
unicorn.configs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
prettier,
|
||||
unicorn
|
||||
prettier
|
||||
},
|
||||
|
||||
languageOptions: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { parse } from 'node:url';
|
||||
|
||||
// eslint-disable-next-line unicorn/no-named-default
|
||||
import { default as _merge } from 'lodash.merge';
|
||||
|
||||
import { getLogger } from '@sitespeed.io/log';
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// eslint-disable-next-line unicorn/no-named-default
|
||||
import { default as _get } from 'lodash.get';
|
||||
|
||||
export function get(object, property, defaultValue) {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
|
|
@ -66,18 +66,18 @@
|
|||
"ava": "6.1.3",
|
||||
"changelog-parser": "3.0.1",
|
||||
"clean-css-cli": "5.6.3",
|
||||
"eslint": "9.7.0",
|
||||
"eslint-config-prettier": "9.1.0",
|
||||
"eslint-plugin-prettier": "5.2.1",
|
||||
"eslint-plugin-unicorn": "56.0.1",
|
||||
"eslint": "9.30.1",
|
||||
"eslint-config-prettier": "10.1.5",
|
||||
"eslint-plugin-prettier": "5.5.1",
|
||||
"eslint-plugin-unicorn": "59.0.1",
|
||||
"feed": "4.2.2",
|
||||
"jsdoc": "4.0.3",
|
||||
"license-checker": "^25.0.0",
|
||||
"license-checker": "25.0.0",
|
||||
"marked": "4.2.12",
|
||||
"sass": "1.77.6",
|
||||
"prettier": "3.3.2",
|
||||
"pug-lint": "^2.7.0",
|
||||
"pug-lint-config-clock": "^2.0.0"
|
||||
"prettier": "3.6.2",
|
||||
"pug-lint": "2.7.0",
|
||||
"pug-lint-config-clock": "2.0.0"
|
||||
},
|
||||
"exports": "./lib/sitespeed.js",
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import test from 'ava';
|
||||
import dayjs from 'dayjs';
|
||||
import { getLogger } from '@sitespeed.io/log';
|
||||
// eslint-disable-next-line unicorn/no-named-default
|
||||
import { default as GraphitePlugin } from '../lib/plugins/graphite/index.js';
|
||||
|
||||
import { GraphiteDataGenerator as DataGenerator } from '../lib/plugins/graphite/data-generator.js';
|
||||
|
|
|
|||
Loading…
Reference in New Issue