eslint-config-un 0.0.7 → 0.1.1
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/README.md +4 -1
- package/dist/index.cjs +15355 -1645
- package/dist/index.d.cts +7502 -8379
- package/dist/index.d.ts +7502 -8379
- package/dist/index.js +15355 -1645
- package/package.json +23 -17
package/README.md
CHANGED
|
@@ -55,7 +55,10 @@ export default eslintConfig({
|
|
|
55
55
|
- Packages lookup (such as `typescript` or `vue`) is performed using [`local-pkg`](https://www.npmjs.com/package/local-pkg).
|
|
56
56
|
- Type-checked, or type-aware TypeScript rules are *enabled* by default which are known to be performance-demanding. It's just a little heads-up and you should make your own decision whether to keep them enabled. [More about type-aware linting](https://typescript-eslint.io/getting-started/typed-linting).
|
|
57
57
|
- By default, TypeScript rules will be enabled in `.vue` files if `enforceTypescriptInScriptSection` is set to true in vue's config options which in turn is *automatically* set to true if `typescript` package found installed. If you have `.vue` files authored in both TypeScript and JavaScript, use `enforceTypescriptInScriptSection.{files,ignores}` to manually specify TS & JS Vue components respectively. It is not currently possible to apply different ESLint rules depending on the value of `lang` attribute of `<script>` SFC section.
|
|
58
|
-
- All plugins listed above are enabled by default or enabled automatically under certain conditions, but there is
|
|
58
|
+
- All plugins listed above are enabled by default or enabled automatically under certain conditions, but there is some that are *disabled* by default:
|
|
59
|
+
- `prefer-arrow-functions`
|
|
60
|
+
- `security`
|
|
61
|
+
- `yaml`
|
|
59
62
|
- Some rules are set to warn by default. You can change some or even all such rule's reporting level using `errorsInsteadOfWarnings` option. You can find all such rules by inspecting the source code of this package.
|
|
60
63
|
|
|
61
64
|
## Troubleshooting
|