@alicevia/eslint-config-basic 1.0.11 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +14 -32
  2. package/package.json +4 -2
package/index.js CHANGED
@@ -2,48 +2,30 @@ module.exports = {
2
2
  env: {
3
3
  browser: true,
4
4
  es2021: true,
5
- node: true,
5
+ node: true
6
6
  },
7
- extends: ['standard', 'plugin:import/recommended'],
8
- plugins: [],
9
- settings: {
10
- 'import/resolver': {
11
- node: { extensions: ['.js', '.mjs'], },
12
- },
13
- },
14
- ignorePatterns: [
15
- '*.min.*',
16
- 'CHANGELOG.md',
17
- 'dist',
18
- 'LICENSE*',
19
- 'output',
20
- 'coverage',
21
- 'public',
22
- 'temp',
23
- 'packages-lock.json',
24
- 'pnpm-lock.yaml',
25
- 'yarn.lock',
26
- '__snapshots__',
27
- '!.github',
28
- '!.vitepress',
29
- '!.vscode'
7
+
8
+ extends: ['eslint:recommended', 'standard'
9
+ // 'plugin:import/recommended'
30
10
  ],
31
11
  rules: {
32
- 'import/no-unresolved': 0,
33
12
  'space-before-function-paren': ['error', 'always'],
34
- 'comma-dangle': [
35
- 'error',
36
- {
37
- objects: 'always',
38
- }
39
- ],
40
13
  quotes: ['error', 'single'],
41
14
  semi: ['error', 'never'],
15
+ camelcase: 'off',
42
16
  },
43
17
  globals: {
44
18
  __dirname: 'readonly',
45
19
  defineEmits: 'readonly',
46
20
  defineProps: 'readonly',
47
21
  $message: 'readonly',
48
- },
22
+ $loadingBar: 'readonly'
23
+ }
24
+
25
+ // settings: {
26
+ // 'import/extensions': [
27
+ // '.js',
28
+ // '.jsx'
29
+ // ],
30
+ // },
49
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicevia/eslint-config-basic",
3
- "version": "1.0.11",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -13,7 +13,9 @@
13
13
  "access": "public"
14
14
  },
15
15
  "peerDependencies": {
16
- "eslint": ">=8.15.0",
16
+ "eslint": ">=8.15.0"
17
+ },
18
+ "dependencies": {
17
19
  "eslint-config-standard": "^17.0.0",
18
20
  "eslint-plugin-import": "^2.26.0",
19
21
  "eslint-plugin-n": "^15.2.0",