@hazeljs/cli 0.7.9 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +1,22 @@
1
1
  module.exports = {
2
- root: true,
3
- parser: '@typescript-eslint/parser',
2
+ extends: ['../../../.eslintrc.js'],
4
3
  parserOptions: {
5
- ecmaVersion: 'latest',
6
- sourceType: 'module',
7
4
  project: './tsconfig.json',
8
- },
9
- plugins: ['@typescript-eslint', 'prettier'],
10
- extends: [
11
- 'eslint:recommended',
12
- 'plugin:@typescript-eslint/recommended',
13
- 'plugin:prettier/recommended',
14
- ],
15
- env: {
16
- node: true,
17
- es6: true,
18
- jest: true,
5
+ tsconfigRootDir: __dirname,
19
6
  },
20
7
  rules: {
21
8
  '@typescript-eslint/explicit-function-return-type': 'error',
22
9
  '@typescript-eslint/no-explicit-any': 'error',
23
- '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
24
10
  'no-console': ['error', { allow: ['warn', 'error'] }],
25
- 'prettier/prettier': 'error',
26
11
  },
27
12
  overrides: [
28
13
  {
29
14
  files: ['**/*.test.ts'],
15
+ parserOptions: { project: null },
30
16
  rules: {
31
17
  '@typescript-eslint/no-explicit-any': 'off',
32
18
  'no-console': 'off',
33
19
  },
34
20
  },
35
21
  ],
36
- };
22
+ };
@@ -23,16 +23,19 @@ src/
23
23
  ## Getting Started
24
24
 
25
25
  1. **Install dependencies:**
26
+
26
27
  ```bash
27
28
  npm install
28
29
  ```
29
30
 
30
31
  2. **Run the app:**
32
+
31
33
  ```bash
32
34
  npm run start
33
35
  ```
34
36
 
35
37
  3. **Run tests:**
38
+
36
39
  ```bash
37
40
  npm test
38
41
  ```
@@ -58,4 +61,4 @@ src/
58
61
 
59
62
  ## License
60
63
 
61
- Apache 2.0
64
+ Apache 2.0