Skip to content

Commit

Permalink
Bump eslint-plugin-unicorn from 40.1.0 to 41.0.0 (inikulin#411)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Böhm <188768+fb55@users.noreply.github.com>
  • Loading branch information
2 people authored and jmbpwtw committed Feb 16, 2023
1 parent 68f90b5 commit 265893b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@typescript-eslint/parser": "^5.12.1",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-unicorn": "^40.1.0",
"eslint-plugin-unicorn": "^41.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-parser-feedback-test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ main().catch(console.error);

function main(): Promise<void[]> {
const convertPromises = process.argv.slice(2).map(async (file) => {
const content = await readFile(file, 'utf-8');
const content = await readFile(file, 'utf8');
const feedbackTestContent = generateParserFeedbackTest(content);
const feedbackTestFile = `test/data/parser-feedback/${basename(file, '.dat')}.test`;

Expand Down
2 changes: 1 addition & 1 deletion test/utils/generate-parsing-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function loadTreeConstructionTestData<T extends TreeAdapterTypeMap>(
}

const filePath = path.join(dataDirPath, fileName);
const testSet = fs.readFileSync(filePath, 'utf-8');
const testSet = fs.readFileSync(filePath, 'utf8');
const setName = fileName.replace('.dat', '');

for (const test of parseDatFile(testSet, treeAdapter)) {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/generate-serializer-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function generateSerializerTests(
opts: parse5.SerializerOptions<TreeAdapterTypeMap>
) => Promise<string> | string
): void {
const data = fs.readFileSync(new URL('../data/serialization/tests.json', import.meta.url)).toString('utf-8');
const data = fs.readFileSync(new URL('../data/serialization/tests.json', import.meta.url)).toString('utf8');
const tests = JSON.parse(data) as {
name: string;
options?: parse5.SerializerOptions<TreeAdapterTypeMap>;
Expand Down

0 comments on commit 265893b

Please sign in to comment.