@jsse/eslint-config 0.0.4 → 0.0.6

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023-PRESENT Jesse K Rubin <https://github.com/jessekrubin>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023-PRESENT Jesse K Rubin <https://github.com/jessekrubin>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @jsse/eslint-config
2
2
 
3
+ <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
4
+
3
5
  Eslint config
4
6
 
5
7
  - eslint flat config
@@ -101,3 +103,6 @@ don't care anymore...
101
103
  ## License
102
104
 
103
105
  [MIT](./LICENSE) License &copy; 2019-PRESENT [Anthony Fu](https://github.com/antfu)
106
+
107
+ [package-url]: https://www.npmjs.com/package/@jsse/eslint-config
108
+ [npm-version-svg]: https://badge.fury.io/js/@jsse%2Feslint-config.svg
package/dist/cli.cjs CHANGED
@@ -616,7 +616,7 @@ var CAC = class extends import_events.EventEmitter {
616
616
  var cac = (name = "") => new CAC(name);
617
617
 
618
618
  // package.json
619
- var version = "0.0.4";
619
+ var version = "0.0.6";
620
620
 
621
621
  // src/cli.ts
622
622
  var cli = cac("jsselint");
@@ -659,7 +659,9 @@ cli.command("init", "create eslint config file").option("--force", "force create
659
659
  console.warn(msg);
660
660
  throw new Error(msg);
661
661
  }
662
- const packageJson = JSON.parse(import_node_fs.default.readFileSync("package.json", "utf-8"));
662
+ const packageJson = JSON.parse(
663
+ import_node_fs.default.readFileSync("package.json", "utf-8")
664
+ );
663
665
  const isModule = packageJson.type === "module";
664
666
  const eslintConfigString = [
665
667
  isModule ? configStringEsm : configStringCjs,
package/dist/cli.js CHANGED
@@ -592,7 +592,7 @@ var CAC = class extends EventEmitter {
592
592
  var cac = (name = "") => new CAC(name);
593
593
 
594
594
  // package.json
595
- var version = "0.0.4";
595
+ var version = "0.0.6";
596
596
 
597
597
  // src/cli.ts
598
598
  var cli = cac("jsselint");
@@ -635,7 +635,9 @@ cli.command("init", "create eslint config file").option("--force", "force create
635
635
  console.warn(msg);
636
636
  throw new Error(msg);
637
637
  }
638
- const packageJson = JSON.parse(fs.readFileSync("package.json", "utf-8"));
638
+ const packageJson = JSON.parse(
639
+ fs.readFileSync("package.json", "utf-8")
640
+ );
639
641
  const isModule = packageJson.type === "module";
640
642
  const eslintConfigString = [
641
643
  isModule ? configStringEsm : configStringCjs,