-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend/pdf/print: set type to module in package.json
And switch to esm syntax for the matchingTranslationKeys eslint plugin. Because there cannot be dashes in an identifier, the rule is now called 'matchingTranslationKeys'. This might enable us to update vite-plugin-comlink - #6220 And might help with - #6038
- Loading branch information
Showing
17 changed files
with
46 additions
and
50 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
module.exports = { | ||
presets: ['@vue/app'], | ||
env: { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
// noinspection JSUnusedGlobalSymbols | ||
export const presets = ['@vue/app'] | ||
export const env = { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
} |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
const path = require('path') | ||
const fs = require('fs') | ||
const utils = require('eslint-plugin-vue/lib/utils/index.js') | ||
const matchingTranslationKeys = require('../src/common/eslint-local-rules/matchingTranslationKeys.js') | ||
import utils from 'eslint-plugin-vue/lib/utils/index.js' | ||
// noinspection ES6UnusedImports | ||
import createMatchingTranslationKeys from '../../common/eslint-local-rules/matchingTranslationKeys.js' | ||
|
||
module.exports = { | ||
'matching-translation-keys': matchingTranslationKeys(path, utils, fs), | ||
} | ||
// noinspection JSUnusedGlobalSymbols | ||
export const matchingTranslationKeys = createMatchingTranslationKeys(utils) |
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
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
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
module.exports = { | ||
presets: ['@vue/app'], | ||
env: { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
// noinspection JSUnusedGlobalSymbols | ||
export const presets = ['@vue/app'] | ||
export const env = { | ||
test: { | ||
plugins: ['require-context-hook'], | ||
}, | ||
} |
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
const path = require('path') | ||
const fs = require('fs') | ||
const utils = require('eslint-plugin-vue/lib/utils/index.js') | ||
const matchingTranslationKeys = require('../common/eslint-local-rules/matchingTranslationKeys.js') | ||
import utils from 'eslint-plugin-vue/lib/utils/index.js' | ||
// noinspection ES6UnusedImports | ||
import createMatchingTranslationKeys from '../../common/eslint-local-rules/matchingTranslationKeys.js' | ||
|
||
module.exports = { | ||
'matching-translation-keys': matchingTranslationKeys(path, utils, fs), | ||
} | ||
// noinspection JSUnusedGlobalSymbols | ||
export const matchingTranslationKeys = createMatchingTranslationKeys(utils) |
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
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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
const path = require('path') | ||
const fs = require('fs') | ||
const utils = require('eslint-plugin-vue/lib/utils/index.js') | ||
const matchingTranslationKeys = require('../../common/eslint-local-rules/matchingTranslationKeys.js') | ||
import utils from 'eslint-plugin-vue/lib/utils/index.js' | ||
// noinspection ES6UnusedImports | ||
import createMatchingTranslationKeys from '../../common/eslint-local-rules/matchingTranslationKeys.js' | ||
|
||
module.exports = { | ||
'matching-translation-keys': matchingTranslationKeys(path, utils, fs), | ||
} | ||
// noinspection JSUnusedGlobalSymbols | ||
export const matchingTranslationKeys = createMatchingTranslationKeys(utils) |
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