mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
chore(project): rename .eslint.js to .eslint.json (#6584)
This commit is contained in:
parent
c415f8bdbc
commit
8a8f0d64e7
@ -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
4
.eslintrc.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"root": true,
|
||||
"extends": ["@element-plus/eslint-config"]
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
const { defineConfig } = require('eslint-define-config')
|
||||
|
||||
module.exports = defineConfig({
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
},
|
||||
})
|
5
build/.eslintrc.json
Normal file
5
build/.eslintrc.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-console": "off"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
const { defineConfig } = require('eslint-define-config')
|
||||
|
||||
module.exports = defineConfig({
|
||||
rules: {},
|
||||
})
|
3
docs/.eslintrc.json
Normal file
3
docs/.eslintrc.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"rules": {}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
const { defineConfig } = require('eslint-define-config')
|
||||
|
||||
module.exports = defineConfig({
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
},
|
||||
})
|
5
docs/.vitepress/build/.eslintrc.json
Normal file
5
docs/.vitepress/build/.eslintrc.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-console": "off"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
module.exports = {
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
},
|
||||
}
|
5
docs/.vitepress/config/.eslintrc.json
Normal file
5
docs/.vitepress/config/.eslintrc.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-console": "off"
|
||||
}
|
||||
}
|
@ -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',
|
||||
},
|
||||
})
|
7
docs/examples/.eslintrc.json
Normal file
7
docs/examples/.eslintrc.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-console": "off",
|
||||
"no-unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars": "off"
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
const { defineConfig } = require('eslint-define-config')
|
||||
|
||||
module.exports = defineConfig({
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
},
|
||||
})
|
5
play/.eslintrc.json
Normal file
5
play/.eslintrc.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-console": "off"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
module.exports = {
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
},
|
||||
}
|
5
scripts/.eslintrc.json
Normal file
5
scripts/.eslintrc.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-console": "off"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user