File tree Expand file tree Collapse file tree 10 files changed +501
-424
lines changed
Expand file tree Collapse file tree 10 files changed +501
-424
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "extends": "./node_modules/gts/",
3+ "overrides": [
4+ {
5+ "files": "*.ts",
6+ "rules": {
7+ "no-unused-vars": "off",
8+ "no-useless-constructor": "off",
9+ "@typescript-eslint/no-unused-vars": "error",
10+ "@typescript-eslint/no-useless-constructor": "error"
11+ }
12+ }
13+ ],
14+ "parserOptions": {
15+ "ecmaVersion": 2020,
16+ "sourceType": "module"
17+ },
18+
19+ "plugins": [
20+ "@typescript-eslint/eslint-plugin"
21+ ]
22+ }
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ ...require ( 'gts/.prettierrc.json' )
3+ }
Original file line number Diff line number Diff line change 1- import { y18n as _y18n } from './build/lib/index.js'
2- import type { Y18NOpts } from './build/lib/index.d.ts'
3- import shim from './lib/platform-shims/deno.ts'
1+ import { y18n as _y18n } from './build/lib/index.js' ;
2+ import type { Y18NOpts } from './build/lib/index.d.ts' ;
3+ import shim from './lib/platform-shims/deno.ts' ;
44
55const y18n = ( opts : Y18NOpts ) => {
6- return _y18n ( opts , shim )
7- }
6+ return _y18n ( opts , shim ) ;
7+ } ;
88
9- export default y18n
9+ export default y18n ;
Original file line number Diff line number Diff line change 1- import shim from './build/lib/platform-shims/node.js'
2- import { y18n as _y18n } from './build/lib/index.js'
1+ import shim from './build/lib/platform-shims/node.js' ;
2+ import { y18n as _y18n } from './build/lib/index.js' ;
33
4- const y18n = ( opts ) => {
5- return _y18n ( opts , shim )
6- }
4+ const y18n = opts => {
5+ return _y18n ( opts , shim ) ;
6+ } ;
77
8- export default y18n
8+ export default y18n ;
99
10- export { y18n as 'module.exports' } ;
10+ export { y18n as 'module.exports' } ;
You can’t perform that action at this time.
0 commit comments