Skip to content

Commit 944a545

Browse files
committed
0.1.8 release
2 parents c0d3981 + b791de5 commit 944a545

File tree

4 files changed

+2372
-1960
lines changed

4 files changed

+2372
-1960
lines changed

.eslintrc.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ module.exports = {
1818
presets: [require.resolve('./index.js')]
1919
}
2020
},
21-
plugins: ['@babel', 'import'],
21+
plugins: ['@babel', '@stylistic/js', 'import'],
2222
rules: {
2323
'block-scoped-var': 'warn',
2424
'curly': ['warn', 'multi-line'],
2525
'eqeqeq': ['warn', 'smart'],
26-
'new-parens': 'warn',
2726
'no-alert': 'warn',
2827
'no-array-constructor': 'warn',
2928
'no-caller': 'error',
@@ -40,7 +39,6 @@ module.exports = {
4039
'no-extra-boolean-cast': 'warn',
4140
'no-extra-semi': 'off',
4241
'no-fallthrough': 'warn',
43-
'no-floating-decimal': 'warn',
4442
'no-func-assign': 'warn',
4543
'no-implied-eval': 'warn',
4644
'no-inner-declarations': 'off',
@@ -76,7 +74,6 @@ module.exports = {
7674
}
7775
],
7876
'no-throw-literal': 'error',
79-
'no-trailing-spaces': 'warn',
8077
'no-unexpected-multiline': 'warn',
8178
'no-unneeded-ternary': 'warn',
8279
'no-unreachable': 'warn',
@@ -92,7 +89,12 @@ module.exports = {
9289
'no-var': 'warn',
9390
'require-yield': 'off',
9491
'use-isnan': 'warn',
95-
'wrap-iife': ['error', 'inside'],
92+
93+
// @stylistic/js plugin https://github.com/eslint-stylistic/eslint-stylistic
94+
'@stylistic/js/new-parens': 'warn',
95+
'@stylistic/js/no-floating-decimal': 'warn',
96+
'@stylistic/js/no-trailing-spaces': 'warn',
97+
'@stylistic/js/wrap-iife': ['error', 'inside'],
9698

9799
// babel plugin https://github.com/babel/babel/tree/main/eslint/babel-eslint-plugin
98100
'@babel/new-cap': [

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
## 0.1.7 (february 20, 2024)
1+
## 0.1.8 (July 22, 2024)
2+
3+
* Replaced deprecated rules with `@stylistic/js` rules.
4+
5+
## 0.1.7 (February 20, 2024)
26

37
* Updated dependencies.
48

0 commit comments

Comments
 (0)