@w5s/eslint-config 1.0.2 → 1.0.3
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.
- package/lib/jest.js +2 -0
- package/package.json +2 -2
- package/src/jest.ts +2 -0
package/lib/jest.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const dev_1 = require("@w5s/dev");
|
|
3
|
+
const _rule_1 = require("./_rule");
|
|
3
4
|
const config = dev_1.ESLintConfig.concat({
|
|
4
5
|
env: {
|
|
5
6
|
'jest/globals': true,
|
|
@@ -44,6 +45,7 @@ const config = dev_1.ESLintConfig.concat({
|
|
|
44
45
|
*/
|
|
45
46
|
{
|
|
46
47
|
rules: {
|
|
48
|
+
'@typescript-eslint/dot-notation': (0, _rule_1.fixme)(undefined),
|
|
47
49
|
'@typescript-eslint/naming-convention': 'off',
|
|
48
50
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
49
51
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w5s/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "ESLint configuration presets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "55dfe2e45369c5d97aa6de7f2ee2eb08ac4d5b4b"
|
|
106
106
|
}
|
package/src/jest.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ESLintConfig } from '@w5s/dev';
|
|
2
2
|
import type eslint from 'eslint';
|
|
3
|
+
import { fixme } from './_rule';
|
|
3
4
|
|
|
4
5
|
const config: eslint.Linter.Config = ESLintConfig.concat(
|
|
5
6
|
{
|
|
@@ -47,6 +48,7 @@ const config: eslint.Linter.Config = ESLintConfig.concat(
|
|
|
47
48
|
*/
|
|
48
49
|
{
|
|
49
50
|
rules: {
|
|
51
|
+
'@typescript-eslint/dot-notation': fixme(undefined), // eslint-plugin-jest seems to break this rule
|
|
50
52
|
'@typescript-eslint/naming-convention': 'off',
|
|
51
53
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
52
54
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|