Spaces:
Running
Running
bradduy
commited on
Commit
·
352a020
1
Parent(s):
72f1763
remove rules
Browse files- .eslintrc.js +5 -0
- eslint.config.mjs +2 -5
.eslintrc.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
module.exports = {
|
2 |
+
rules: {
|
3 |
+
'style/eol-last': 'off',
|
4 |
+
},
|
5 |
+
};
|
eslint.config.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import antfu from '@antfu/eslint-config';
|
2 |
import nextPlugin from '@next/eslint-plugin-next';
|
3 |
import jestDom from 'eslint-plugin-jest-dom';
|
4 |
-
|
5 |
import playwright from 'eslint-plugin-playwright';
|
6 |
import tailwind from 'eslint-plugin-tailwindcss';
|
7 |
import testingLibrary from 'eslint-plugin-testing-library';
|
@@ -25,7 +25,7 @@ export default antfu({
|
|
25 |
'migrations/**/*',
|
26 |
'next-env.d.ts',
|
27 |
],
|
28 |
-
}, ...tailwind.configs['flat/recommended'], {
|
29 |
plugins: {
|
30 |
'@next/next': nextPlugin,
|
31 |
},
|
@@ -54,8 +54,5 @@ export default antfu({
|
|
54 |
'node/prefer-global/process': 'off', // Allow using `process.env`
|
55 |
'test/padding-around-all': 'error', // Add padding in test files
|
56 |
'test/prefer-lowercase-title': 'off', // Allow using uppercase titles in test titles
|
57 |
-
'react-hooks/exhaustive-deps': 'off',
|
58 |
-
'jsx-a11y/anchor-is-valid': 'off',
|
59 |
-
|
60 |
},
|
61 |
});
|
|
|
1 |
import antfu from '@antfu/eslint-config';
|
2 |
import nextPlugin from '@next/eslint-plugin-next';
|
3 |
import jestDom from 'eslint-plugin-jest-dom';
|
4 |
+
import jsxA11y from 'eslint-plugin-jsx-a11y';
|
5 |
import playwright from 'eslint-plugin-playwright';
|
6 |
import tailwind from 'eslint-plugin-tailwindcss';
|
7 |
import testingLibrary from 'eslint-plugin-testing-library';
|
|
|
25 |
'migrations/**/*',
|
26 |
'next-env.d.ts',
|
27 |
],
|
28 |
+
}, ...tailwind.configs['flat/recommended'], jsxA11y.flatConfigs.recommended, {
|
29 |
plugins: {
|
30 |
'@next/next': nextPlugin,
|
31 |
},
|
|
|
54 |
'node/prefer-global/process': 'off', // Allow using `process.env`
|
55 |
'test/padding-around-all': 'error', // Add padding in test files
|
56 |
'test/prefer-lowercase-title': 'off', // Allow using uppercase titles in test titles
|
|
|
|
|
|
|
57 |
},
|
58 |
});
|