chore(eslint): (Slightly) improve linting of packages/i18n
This commit is contained in:
parent
1430d48910
commit
067f3958ae
2 changed files with 1 additions and 18 deletions
|
@ -15,6 +15,7 @@ const frontendFiles = [
|
||||||
'**/hooks/**',
|
'**/hooks/**',
|
||||||
'**/pages/**',
|
'**/pages/**',
|
||||||
'**/page-templates/**',
|
'**/page-templates/**',
|
||||||
|
'packages/i18n/**/*.md/*.js',
|
||||||
]
|
]
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
env:
|
|
||||||
browser: true
|
|
||||||
es2021: true
|
|
||||||
extends: eslint:recommended
|
|
||||||
overrides:
|
|
||||||
- files: ["*.yaml", "*.yml"]
|
|
||||||
plugins: ["yaml"]
|
|
||||||
extends: ["plugin:yaml/recommended"]
|
|
||||||
parserOptions:
|
|
||||||
ecmaVersion: latest
|
|
||||||
sourceType: module
|
|
||||||
rules: {}
|
|
||||||
globals:
|
|
||||||
it: readonly
|
|
||||||
describe: readonly
|
|
||||||
process: readonly
|
|
||||||
__dirname: readonly
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue