chore(project): rename .eslint.js to .eslint.json (#6584)

This commit is contained in:
JeremyWuuuuu 2022-03-13 14:19:51 +08:00 committed by GitHub
parent c415f8bdbc
commit 8a8f0d64e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 39 additions and 51 deletions

View File

@ -1,6 +0,0 @@
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
root: true,
extends: ['@element-plus/eslint-config'],
})

4
.eslintrc.json Normal file
View File

@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@element-plus/eslint-config"]
}

View File

@ -1,7 +0,0 @@
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
rules: {
'no-console': 'off',
},
})

5
build/.eslintrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"rules": {
"no-console": "off"
}
}

View File

@ -1,5 +0,0 @@
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
rules: {},
})

3
docs/.eslintrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"rules": {}
}

View File

@ -1,7 +0,0 @@
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
rules: {
'no-console': 'off',
},
})

View File

@ -0,0 +1,5 @@
{
"rules": {
"no-console": "off"
}
}

View File

@ -1,5 +0,0 @@
module.exports = {
rules: {
'no-console': 'off',
},
}

View File

@ -0,0 +1,5 @@
{
"rules": {
"no-console": "off"
}
}

View File

@ -1,9 +0,0 @@
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
rules: {
'no-console': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
})

View File

@ -0,0 +1,7 @@
{
"rules": {
"no-console": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off"
}
}

View File

@ -1,7 +0,0 @@
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
rules: {
'no-console': 'off',
},
})

5
play/.eslintrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"rules": {
"no-console": "off"
}
}

View File

@ -1,5 +0,0 @@
module.exports = {
rules: {
'no-console': 'off',
},
}

5
scripts/.eslintrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"rules": {
"no-console": "off"
}
}