@switz/eslint-config 10.0.0 → 10.0.2

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/.eslintrc.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
2
  extends: [
3
- './eslintrc.cjs',
3
+ './eslintrc.cjs',
4
4
  ],
5
5
  };
package/eslintrc.cjs CHANGED
@@ -1,5 +1,3 @@
1
- const prettierConfig = import('./prettier.config.cjs');
2
-
3
1
  module.exports = {
4
2
  extends: ['eslint:recommended'],
5
3
  globals: {},
@@ -12,7 +10,17 @@ module.exports = {
12
10
  },
13
11
  plugins: ['prettier'],
14
12
  rules: {
15
- 'prettier/prettier': ['error', prettierConfig],
13
+ 'prettier/prettier': [
14
+ 'error',
15
+ {
16
+ singleQuote: true,
17
+ trailingComma: 'es5',
18
+ printWidth: 100,
19
+ quoteProps: 'consistent',
20
+ endOfLine: 'auto',
21
+ plugins: ['prettier-plugin-tailwindcss'],
22
+ },
23
+ ],
16
24
  // 'comma-dangle': ['error', 'always-multiline'],
17
25
  // 'comma-spacing': ['error'],
18
26
  // 'eol-last': ['error', 'always'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@switz/eslint-config",
3
- "version": "10.0.0",
3
+ "version": "10.0.2",
4
4
  "description": "",
5
5
  "main": "eslintrc.cjs",
6
6
  "type": "module",
@@ -1,10 +0,0 @@
1
- const tailwind = import('prettier-plugin-tailwindcss');
2
-
3
- module.exports = {
4
- singleQuote: true,
5
- trailingComma: 'es5',
6
- printWidth: 100,
7
- quoteProps: 'consistent',
8
- endOfLine: 'auto',
9
- plugins: [tailwind],
10
- };
File without changes
File without changes
File without changes
File without changes
File without changes