Skip to content

Commit

Permalink
Update npm packages and add new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Jan 18, 2021
1 parent 6b4625e commit 5a0c4a9
Show file tree
Hide file tree
Showing 8 changed files with 269 additions and 284 deletions.
1 change: 1 addition & 0 deletions .eslintrc.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = {
"standard/computed-property-even-spacing": ["error", "even"],
"unicorn/consistent-function-scoping": "off",
"unicorn/filename-case": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/no-null": "off",
"unicorn/no-reduce": "off",
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

// This is the internal ESLint config for this project itself – it’s not part of
// the eslint-config-prettier npm package. The idea here is to extends some
// the eslint-config-prettier npm package. The idea here is to extend some
// sharable config from npm and then include the configs exposed by this package
// as an “eat your own dogfood” test. That feels like a good test, but
// complicates things a little sometimes.
Expand Down
1 change: 1 addition & 0 deletions @typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-extra-parens": "off",
"@typescript-eslint/no-extra-semi": "off",
"@typescript-eslint/object-curly-spacing": "off",
"@typescript-eslint/semi": "off",
"@typescript-eslint/space-before-function-paren": "off",
"@typescript-eslint/space-infix-ops": "off",
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017, 2018, 2019, 2020 Simon Lydell and contributors
Copyright (c) 2017, 2018, 2019, 2020, 2021 Simon Lydell and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,21 +678,21 @@ You can also supply a custom message if you want:

eslint-config-prettier has been tested with:

- ESLint 7.16.0
- ESLint 7.18.0
- eslint-config-prettier 7.0.0 requires ESLint 7.0.0 or newer, while eslint-config-prettier 6.15.0 and older should also work with ESLint versions down to 3.x.
- eslint-config-prettier 6.11.0 and older were tested with ESLint 6.x
- eslint-config-prettier 5.1.0 and older were tested with ESLint 5.x
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
- prettier 2.2.1
- @typescript-eslint/eslint-plugin 4.10.0
- @typescript-eslint/eslint-plugin 4.14.0
- eslint-plugin-babel 5.3.1
- eslint-plugin-flowtype 5.2.0
- eslint-plugin-prettier 3.3.0
- eslint-plugin-react 7.21.5
- eslint-plugin-prettier 3.3.1
- eslint-plugin-react 7.22.0
- eslint-plugin-standard 4.0.2
- eslint-plugin-unicorn 24.0.0
- eslint-plugin-vue 7.3.0
- eslint-plugin-unicorn 26.0.1
- eslint-plugin-vue 7.4.1

Have new rules been added since those versions? Have we missed any rules? Is there a plugin you would like to see exclusions for? Open an issue or a pull request!

Expand Down
Loading

0 comments on commit 5a0c4a9

Please sign in to comment.