Skip to content

Commit 53cdba0

Browse files
committed
trying to make the no-autofix work
1 parent b377b7e commit 53cdba0

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
extends: [
44
'@fs/eslint-config-frontier-react/es6',
55
'@fs/eslint-config-frontier-react/react',
6+
'@fs/eslint-config-frontier-react/noFixRules',
67
'plugin:jest/recommended',
78
],
89
}

noFixRules.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
plugins: ['no-autofix'],
3+
rules: {
4+
'no-autofix/prefer-const': 'error',
5+
'no-autofix/no-debugger': 'error',
6+
},
7+
}

package-lock.json

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fs/eslint-config-frontier-react",
3-
"version": "1.3.9",
3+
"version": "1.4.0",
44
"description": "A common ESLint configuration setup for frontier apps",
55
"main": "index.js",
66
"scripts": {
@@ -32,6 +32,7 @@
3232
"eslint-plugin-import": "^2.16.0",
3333
"eslint-plugin-jest": "22.5.1",
3434
"eslint-plugin-jsx-a11y": "^6.1.2",
35+
"eslint-plugin-no-autofix": "0.0.2",
3536
"eslint-plugin-only-warn": "^1.0.1",
3637
"eslint-plugin-prettier": "^3.0.0",
3738
"eslint-plugin-react": "^7.12.4",

0 commit comments

Comments
 (0)