@nfq/eslint-config 3.3.0 → 3.3.1

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.
@@ -0,0 +1,48 @@
1
+ const global = require('./config/globals');
2
+ const plugins = require('./config/plugins');
3
+ const settings = require('./config/settings');
4
+ const rules = require('./rules');
5
+ const stylistic = require('./rules/stylistic');
6
+ const typescript = require('./rules/typescript');
7
+ const typescriptCypress = require('./rules/typescript-cypress-exeptions');
8
+
9
+ module.exports = {
10
+ env: {
11
+ browser: true,
12
+ es6: true,
13
+ node: true
14
+ },
15
+ extends: rules,
16
+ globals: global,
17
+ overrides: [
18
+ {
19
+ files: ['**/*.cy.{ts,cts,mts,tsx}'],
20
+ parser: '@typescript-eslint/parser',
21
+ parserOptions: {project: '**/tsconfig*.json'},
22
+ plugins: ['@typescript-eslint', '@stylistic/ts'],
23
+ rules: {
24
+ ...typescript.rules,
25
+ ...stylistic.rules,
26
+ ...typescriptCypress.rules
27
+ }
28
+ },
29
+ {
30
+ files: ['**/*.{ts,cts,mts,tsx}'],
31
+ parser: '@typescript-eslint/parser',
32
+ parserOptions: {project: '**/tsconfig*.json'},
33
+ plugins: ['@typescript-eslint', '@stylistic/ts'],
34
+ rules: {
35
+ ...typescript.rules,
36
+ ...stylistic.rules
37
+ }
38
+ }
39
+ ],
40
+ parser: '@babel/eslint-parser',
41
+ parserOptions: {
42
+ ecmaFeatures: {jsx: true},
43
+ ecmaVersion: 8,
44
+ requireConfigFile: false
45
+ },
46
+ plugins,
47
+ settings
48
+ };
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.3.1](https://github.com/nfqde/eslint-config-nfq/compare/v3.3.0...v3.3.1) (2024-10-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **Plugins:** fix typo in rules ([#64](https://github.com/nfqde/eslint-config-nfq/issues/64)) ([7190b82](https://github.com/nfqde/eslint-config-nfq/commit/7190b82e637d617d10c96be73e95f5d3ef697829))
11
+
5
12
  ## [3.3.0](https://github.com/nfqde/eslint-config-nfq/compare/v3.2.2...v3.3.0) (2024-10-10)
6
13
 
7
14
 
package/index.js CHANGED
@@ -33,7 +33,7 @@ module.exports = {
33
33
  plugins: ['@typescript-eslint', '@stylistic/ts'],
34
34
  rules: {
35
35
  ...typescript.rules,
36
- ...stylistic.rule
36
+ ...stylistic.rules
37
37
  }
38
38
  }
39
39
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nfq/eslint-config",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "engines": {
5
5
  "node": ">= 12.0.0"
6
6
  },