@nihalgonsalves/esconfig 0.1.1 → 0.2.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.
@@ -3,6 +3,7 @@
3
3
  /** @type import('eslint-define-config').EslintConfig */
4
4
  module.exports = {
5
5
  extends: ['airbnb-typescript', 'airbnb/hooks', 'prettier'],
6
+ plugins: ['@typescript-eslint', 'import', 'react'],
6
7
  rules: {
7
8
  ...require('./eslint-rules-base'),
8
9
  'react/state-in-constructor': ['error', 'never'],
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.2.1](https://github.com/nihalgonsalves/esconfig/compare/v0.2.0...v0.2.1) (2022-06-18)
6
+
7
+ ### Bug Fixes
8
+
9
+ - add react plugin to react config ([890c5b1](https://github.com/nihalgonsalves/esconfig/commit/890c5b140f1329a3b69a060296c53b6f786ce9f3))
10
+
11
+ ## [0.2.0](https://github.com/nihalgonsalves/esconfig/compare/v0.1.2...v0.2.0) (2022-05-17)
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ - **tsconfig:** tsconfig now targets es2022
16
+ - **tsconfig:** tsconfig now turns on `noImplicitOverride` and `exactOptionalPropertyTypes`
17
+
18
+ ### Features
19
+
20
+ - **tsconfig:** turn on stricter flags ([dedf98b](https://github.com/nihalgonsalves/esconfig/commit/dedf98bc00ef225302993da5eee44fd382e78c5f))
21
+ - **tsconfig:** update target/module to es2022 ([03a42ff](https://github.com/nihalgonsalves/esconfig/commit/03a42ffb74d44c80e9e9d5788fe44c81213125c7))
22
+
23
+ ### [0.1.2](https://github.com/nihalgonsalves/esconfig/compare/v0.1.1...v0.1.2) (2022-05-17)
24
+
5
25
  ### [0.1.1](https://github.com/nihalgonsalves/esconfig/compare/v0.1.0...v0.1.1) (2022-05-17)
6
26
 
7
27
  ## [0.1.0](https://github.com/nihalgonsalves/esconfig/compare/v0.0.9...v0.1.0) (2021-12-29)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nihalgonsalves/esconfig",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "description": "Shared ECMAScript Config (TS, Lint, Prettier)",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:nihalgonsalves/esconfig.git",
package/tsconfig.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "incremental": true,
4
- "target": "es2020",
5
- "module": "ESNext",
4
+ "target": "es2022",
5
+ "module": "es2022",
6
6
  "sourceMap": true,
7
7
  "strict": true,
8
8
  "noFallthroughCasesInSwitch": true,
9
- // TODO: Typescript 4.3
10
- // "noImplicitOverride": true,
9
+ "noImplicitOverride": true,
11
10
  "noImplicitReturns": true,
12
11
  "noPropertyAccessFromIndexSignature": true,
13
12
  "noUncheckedIndexedAccess": true,
14
13
  "noUnusedLocals": true,
15
14
  "noUnusedParameters": true,
15
+ "exactOptionalPropertyTypes": true,
16
16
  "moduleResolution": "node",
17
17
  "allowSyntheticDefaultImports": true,
18
18
  "esModuleInterop": true,