-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from oddbird/dependabot/npm_and_yarn/npm-mino…
…r-upgrades-5eaa49c26e Bump the npm-minor-upgrades group with 10 updates
- Loading branch information
Showing
11 changed files
with
723 additions
and
642 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
/* eslint-disable @typescript-eslint/no-require-imports */ | ||
|
||
const babelParser = require('@babel/eslint-parser'); | ||
const js = require('@eslint/js'); | ||
const prettier = require('eslint-config-prettier'); | ||
const importPlugin = require('eslint-plugin-import'); | ||
const jest = require('eslint-plugin-jest'); | ||
const jestDOM = require('eslint-plugin-jest-dom'); | ||
const simpleImportSort = require('eslint-plugin-simple-import-sort'); | ||
const globals = require('globals'); | ||
const tseslint = require('typescript-eslint'); | ||
|
||
module.exports = tseslint.config( | ||
{ | ||
ignores: [ | ||
'.git/*', | ||
'.nyc_output/*', | ||
'.vscode/*', | ||
'.yarn/*', | ||
'.yarnrc.yml', | ||
'coverage/*', | ||
'dist/*', | ||
'docs/*', | ||
'node_modules/*', | ||
], | ||
}, | ||
js.configs.recommended, | ||
...tseslint.configs.recommended, | ||
importPlugin.flatConfigs.recommended, | ||
prettier, | ||
{ | ||
files: ['**/*.{js,mjs,cjs,ts,cts,mts}'], | ||
languageOptions: { | ||
parser: babelParser, | ||
globals: { | ||
...globals.node, | ||
...globals.es2022, | ||
}, | ||
parserOptions: { | ||
sourceType: 'script', | ||
}, | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
typescript: {}, | ||
}, | ||
'import/external-module-folders': ['node_modules'], | ||
}, | ||
rules: { | ||
'no-console': 1, | ||
'no-warning-comments': ['warn', { terms: ['todo', 'fixme', '@@@'] }], | ||
'import/first': 'warn', | ||
'import/newline-after-import': 'warn', | ||
'import/no-duplicates': ['error', { 'prefer-inline': true }], | ||
'import/order': [ | ||
'warn', | ||
{ 'newlines-between': 'always', alphabetize: { order: 'asc' } }, | ||
], | ||
'import/named': 'warn', | ||
}, | ||
}, | ||
{ | ||
files: ['src/**/*.{js,mjs,cjs,ts,cts,mts}'], | ||
languageOptions: { | ||
parser: tseslint.parser, | ||
globals: { | ||
...globals.browser, | ||
...globals.es2022, | ||
}, | ||
parserOptions: { | ||
sourceType: 'module', | ||
}, | ||
}, | ||
plugins: { | ||
'simple-import-sort': simpleImportSort, | ||
}, | ||
rules: { | ||
'simple-import-sort/imports': 'warn', | ||
'simple-import-sort/exports': 'warn', | ||
'import/order': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['test/**/*.{js,ts}'], | ||
languageOptions: { | ||
parser: babelParser, | ||
globals: { | ||
...jest.environments.globals.globals, | ||
...globals.mocha, | ||
...globals.es2022, | ||
}, | ||
parserOptions: { | ||
sourceType: 'script', | ||
}, | ||
}, | ||
plugins: { | ||
jest, | ||
'jest-dom': jestDOM, | ||
'simple-import-sort': simpleImportSort, | ||
}, | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ | |
"prepack": "yarn run release" | ||
}, | ||
"dependencies": { | ||
"@adobe/css-tools": "^4.4.0", | ||
"@adobe/css-tools": "^4.4.1", | ||
"jest-diff": "^29.7.0", | ||
"lodash": "^4.17.21" | ||
}, | ||
|
@@ -80,31 +80,35 @@ | |
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.26.0", | ||
"@babel/eslint-parser": "^7.25.9", | ||
"@babel/preset-env": "^7.26.0", | ||
"@babel/preset-typescript": "^7.26.0", | ||
"@eslint/js": "^9.16.0", | ||
"@types/lodash": "^4.17.13", | ||
"@typescript-eslint/eslint-plugin": "^8.12.2", | ||
"@typescript-eslint/parser": "^8.12.2", | ||
"babel-jest": "^29.7.0", | ||
"chai": "^4.5.0", | ||
"eslint": "^8.57.1", | ||
"eslint": "^9.16.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-import-resolver-typescript": "^3.6.3", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-jest": "^28.9.0", | ||
"eslint-plugin-jest-dom": "^5.5.0", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"globals": "^15.13.0", | ||
"jest": "^29.7.0", | ||
"jest-environment-node-single-context": "^29.4.0", | ||
"mocha": "^10.8.2", | ||
"mocha": "^11.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.4.47", | ||
"prettier": "^3.3.3", | ||
"sass": "^1.80.5", | ||
"sass-embedded": "^1.80.5", | ||
"postcss": "^8.4.49", | ||
"prettier": "^3.4.1", | ||
"sass": "^1.81.0", | ||
"sass-embedded": "^1.81.0", | ||
"sassdoc": "^2.7.4", | ||
"sassdoc-theme-herman": "^6.0.1", | ||
"stylelint": "^16.10.0", | ||
"stylelint-config-standard-scss": "^13.1.0", | ||
"typescript": "^5.6.3" | ||
"sassdoc-theme-herman": "^6.0.2", | ||
"stylelint": "^16.11.0", | ||
"stylelint-config-standard-scss": "^14.0.0", | ||
"typescript": "^5.7.2", | ||
"typescript-eslint": "^8.17.0" | ||
}, | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
|
@@ -119,5 +123,5 @@ | |
"sassDir": "./sass/", | ||
"exports": false | ||
}, | ||
"packageManager": "[email protected].0" | ||
"packageManager": "[email protected].3" | ||
} |
Oops, something went wrong.